summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-08-21 11:04:25 +0200
committerGravatar Tom Willemse2014-08-21 11:04:25 +0200
commitb4c265712054a4f5b97ceef36a848e541679179b (patch)
tree560937003dd9aada2795c2443ced1ac3fa27ef33 /x11
parent69daef5baac2289dd0e3aeeb87801d62fc89f150 (diff)
downloaddotfiles-b4c265712054a4f5b97ceef36a848e541679179b.tar.gz
dotfiles-b4c265712054a4f5b97ceef36a848e541679179b.zip
Add phoenix settings to X init
Diffstat (limited to 'x11')
-rwxr-xr-xx11/.xinitrc21
1 files changed, 14 insertions, 7 deletions
diff --git a/x11/.xinitrc b/x11/.xinitrc
index eafeece..1a5fe97 100755
--- a/x11/.xinitrc
+++ b/x11/.xinitrc
@@ -1,11 +1,15 @@
#!/bin/bash
-xrandr --setprovideroutputsource 1 0
-# xrandr --auto
-xrandr \
- --output DVI-I-1 --auto --pos 0x0 \
- --output DVI-I-2 --auto --pos 1920x0 \
- --output DVI-I-1-3 --auto --pos -1280x0
+_hostname="$(hostname)"
+
+if [[ $_hostname == "drd" ]]; then
+ xrandr --setprovideroutputsource 1 0
+ # xrandr --auto
+ 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
@@ -20,7 +24,7 @@ fi
redshift -l 51.1180:4.0012 &
unclutter &
-case "$(hostname)" in
+case $_hostname in
drd)
# feh --bg-tile ~/pictures/wallpaper-2311191.png
# exec sbcl --noprint --non-interactive \
@@ -35,4 +39,7 @@ case "$(hostname)" in
# exec bspwm
# exec i3
;;
+ phoenix)
+ exec awesome
+ ;;
esac