From c0ffa4c32b140378fb51e4c4f8c8c75a67a9d572 Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Wed, 20 Jan 2021 15:40:09 -0500 Subject: Small changes --- sc | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'sc') diff --git a/sc b/sc index c0e7986..ba01945 100755 --- a/sc +++ b/sc @@ -3,17 +3,12 @@ reset_ratpoison="yes" case "$1" in - "d") xrandr --nograb --output VGA1 --off --output LVDS1 --auto;; - "r") xrandr --nograb --output VGA1 --auto --primary --output LVDS1 --off;; - "c") xrandr --nograb --output VGA1 --auto --output LVDS1 --auto;; - "n") xrandr --nograb --output LVDS1 --auto --above VGA1 --output VGA1 --auto;; - "s") xrandr --nograb --output LVDS1 --auto --below VGA1 --output VGA1 --auto;; - "e") xrandr --nograb --output LVDS1 --auto --right-of VGA1 --output VGA1 --auto;; - "w") xrandr --nograb --output LVDS1 --auto --left-of VGA1 --output VGA1 --auto;; - *) xrandr --nograb; reset_ratpoison="" ;; + "d") xrandr --nograb --output VGA-1 --off --output LVDS-1 --auto;; + "r") xrandr --nograb --output VGA-1 --auto --primary --output LVDS-1 --off;; + "c") xrandr --nograb --output VGA-1 --auto --output LVDS-1 --auto;; + "n") xrandr --nograb --output LVDS-1 --auto --above VGA-1 --output VGA-1 --auto;; + "s") xrandr --nograb --output LVDS-1 --auto --below VGA-1 --output VGA-1 --auto;; + "e") xrandr --nograb --output LVDS-1 --auto --right-of VGA-1 --output VGA-1 --auto;; + "w") xrandr --nograb --output LVDS-1 --auto --left-of VGA-1 --output VGA-1 --auto;; + *) xrandr --nograb; reset_ratpoison="" ;; esac; - -if [ -n "$reset_ratpoison" ]; then - [ -n "$BACKGROUND_IMAGE" ] && feh --bg-scale "$BACKGROUND_IMAGE" - #ratpoison -c restart -fi; -- cgit v1.2.3