summaryrefslogtreecommitdiff
path: root/desktop/.xsession
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/.xsession')
-rwxr-xr-xdesktop/.xsession5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/.xsession b/desktop/.xsession
index 6d76b30..102d280 100755
--- a/desktop/.xsession
+++ b/desktop/.xsession
@@ -18,6 +18,9 @@ xset -b
trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 100 --widthtype pixel --transparent true --alpha 0 --tint 0x000000 --height 18 &
[[ -f /etc/nixos/configuration.nix ]] || \
redshift -l 40:-70 -r -t 5500:3700 &
-exec xmonad
+if which autorandr >/dev/null; then
+ autorandr --change
+fi
+exec xmonad