Add phoenix settings to X init

This commit is contained in:
Tom Willemse 2014-08-21 11:04:25 +02:00
parent 69daef5baa
commit b4c2657120

View file

@ -1,11 +1,15 @@
#!/bin/bash #!/bin/bash
xrandr --setprovideroutputsource 1 0 _hostname="$(hostname)"
# xrandr --auto
xrandr \ if [[ $_hostname == "drd" ]]; then
--output DVI-I-1 --auto --pos 0x0 \ xrandr --setprovideroutputsource 1 0
--output DVI-I-2 --auto --pos 1920x0 \ # xrandr --auto
--output DVI-I-1-3 --auto --pos -1280x0 xrandr \
--output DVI-I-1 --auto --pos 0x0 \
--output DVI-I-2 --auto --pos 1920x0 \
--output DVI-I-1-3 --auto --pos -1280x0
fi
xmodmap ~/.Xmodmap xmodmap ~/.Xmodmap
@ -20,7 +24,7 @@ fi
redshift -l 51.1180:4.0012 & redshift -l 51.1180:4.0012 &
unclutter & unclutter &
case "$(hostname)" in case $_hostname in
drd) drd)
# feh --bg-tile ~/pictures/wallpaper-2311191.png # feh --bg-tile ~/pictures/wallpaper-2311191.png
# exec sbcl --noprint --non-interactive \ # exec sbcl --noprint --non-interactive \
@ -35,4 +39,7 @@ case "$(hostname)" in
# exec bspwm # exec bspwm
# exec i3 # exec i3
;; ;;
phoenix)
exec awesome
;;
esac esac