From 8c19617946822d7aeac61696294f893d5e5eca6f Mon Sep 17 00:00:00 2001 From: Tslil Clingman Date: Tue, 26 Mar 2013 15:19:47 +0200 Subject: Init scripts --- sc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 sc (limited to 'sc') diff --git a/sc b/sc new file mode 100755 index 0000000..4ea8f2e --- /dev/null +++ b/sc @@ -0,0 +1,12 @@ +#!/bin/dash +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;; + *) xrandr --nograb ;; +esac; +#feh --bg-center "$BKG" -- cgit v1.2.3