dotfiles/Utils/monitor.sh
Frank Villaro-Dixon 49a4423e99 Wallpapers
2013-06-04 19:07:01 +02:00

27 lines
478 B
Bash
Executable file

#!/bin/bash
if [ $# -lt 1 ]
then
echo "Usage : $0 [dual|extern|laptop]"
exit
fi
case "$1" in
"dual")
xrandr --output LVDS1 --auto --rotate normal --pos 0x0 \
--output VGA1 --auto --rotate normal --right-of LVDS1
;;
"laptop")
xrandr --output LVDS1 --auto --rotate normal --pos 0x0 \
--output VGA1 --off
;;
"extern")
xrandr --output LVDS1 --off \
--output VGA1 --auto --rotate normal
;;
esac
~/Pictures/wallpapers/chooseWP.sh