diff --git a/install.sh b/install.sh index 4997785..f136217 100755 --- a/install.sh +++ b/install.sh @@ -9,6 +9,7 @@ ln -s $WAI/bashrc ./.bashrc ln -s $WAI/vimrc ./.vimrc ln -s $WAI/gitconfig ./.gitconfig ln -s $WAI/xinitrc ./.xinitrc +ln -s $WAI/monitor.sh ./monitor.sh #SSH diff --git a/monitor.sh b/monitor.sh new file mode 100755 index 0000000..e897ad8 --- /dev/null +++ b/monitor.sh @@ -0,0 +1,25 @@ +#!/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 diff --git a/vim/skeletons/skel.c b/vim/skeletons/skel.c index 883db74..d55a7b1 100644 --- a/vim/skeletons/skel.c +++ b/vim/skeletons/skel.c @@ -1,8 +1,8 @@ /** - * <+FILENAME+> - <+DESC+> - * - * (C) 2010 - Gillieron Kevin - */ +** <+FILENAME+> - <+DESC+> +** +** (C) 2013 - Frank Villaro-Dixon +*/ #include #include diff --git a/vim/skeletons/skel.h b/vim/skeletons/skel.h index 80b1c85..797e1e1 100644 --- a/vim/skeletons/skel.h +++ b/vim/skeletons/skel.h @@ -1,8 +1,8 @@ /** - * <+FILENAME+> - <+DESC+> - * - * (C) 2010 - Gillieron Kevin - */ +** <+FILENAME+> - <+DESC+> +** +** (C) 2013 - Frank Villaro-Dixon +*/ #ifndef <+HEADERNAME+> #define <+HEADERNAME+>