From b4c265712054a4f5b97ceef36a848e541679179b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 21 Aug 2014 11:04:25 +0200 Subject: Add phoenix settings to X init --- x11/.xinitrc | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'x11/.xinitrc') 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 -- cgit v1.2.3-54-g00ecf