summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rwxr-xr-xsc14
1 files changed, 0 insertions, 14 deletions
diff --git a/sc b/sc
deleted file mode 100755
index ba01945..0000000
--- a/sc
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env sh
-# Quick hack to manage screen hotplugging
-
-reset_ratpoison="yes"
-case "$1" in
- "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;