From eb393abbcd6c3913701fdb8f7919ae663cec1e04 Mon Sep 17 00:00:00 2001 From: Tslil Clingman Date: Wed, 17 Jun 2015 21:58:38 +0200 Subject: Small tweak to UX --- sc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sc') diff --git a/sc b/sc index 44bdf28..10083f4 100755 --- a/sc +++ b/sc @@ -1,13 +1,13 @@ #!/usr/bin/env sh # Quick hack to manage screen hotplugging case "$1" in - "d") xrandr --nograb --output CRT1 --off --output LVDS --auto;; - "r") xrandr --nograb --output CRT1 --auto --primary --output LVDS --off;; - "c") xrandr --nograb --output CRT1 --auto --output LVDS --auto;; - "n") xrandr --nograb --output LVDS --auto --above CRT1 --output CRT1 --auto;; - "s") xrandr --nograb --output LVDS --auto --below CRT1 --output CRT1 --auto;; - "e") xrandr --nograb --output LVDS --auto --right-of CRT1 --output CRT1 --auto;; - "w") xrandr --nograb --output LVDS --auto --left-of CRT1 --output CRT1 --auto;; + "d") xrandr --nograb --output VGA-0 --off --output LVDS --auto;; + "r") xrandr --nograb --output VGA-0 --auto --primary --output LVDS --off;; + "c") xrandr --nograb --output VGA-0 --auto --output LVDS --auto;; + "n") xrandr --nograb --output LVDS --auto --above VGA-0 --output VGA-0 --auto;; + "s") xrandr --nograb --output LVDS --auto --below VGA-0 --output VGA-0 --auto;; + "e") xrandr --nograb --output LVDS --auto --right-of VGA-0 --output VGA-0 --auto;; + "w") xrandr --nograb --output LVDS --auto --left-of VGA-0 --output VGA-0 --auto;; *) xrandr --nograb ;; esac; #feh --bg-center "$BKG" -- cgit v1.2.3