dotfiles/Utils/monitor.sh

28 lines
478 B
Bash
Raw Normal View History

2013-06-04 16:14:19 +00:00
#!/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
2013-06-04 17:07:01 +00:00
~/Pictures/wallpapers/chooseWP.sh