summary refs log tree commit diff stats
path: root/xprofile
diff options
context:
space:
mode:
authorAlan Pearce2017-09-08 21:21:22 +0200
committerAlan Pearce2017-09-08 21:21:22 +0200
commitb63e78ef7513df0ef510ffd3f86aee8c462eca61 (patch)
treea4613bbbeadc5af26b29fb3ea7c51ddc92f17b4d /xprofile
parentf9fecd32dfdd8cd4fd5aaf2e322e1d9e7ca8cad6 (diff)
downloadnixfiles-b63e78ef7513df0ef510ffd3f86aee8c462eca61.tar.lz
nixfiles-b63e78ef7513df0ef510ffd3f86aee8c462eca61.tar.zst
nixfiles-b63e78ef7513df0ef510ffd3f86aee8c462eca61.zip
xprofile: Run autorandr on startup
Diffstat (limited to 'xprofile')
-rwxr-xr-xxprofile/.xprofile4
1 files changed, 4 insertions, 0 deletions
diff --git a/xprofile/.xprofile b/xprofile/.xprofile
index ec47d622..6e20ba91 100755
--- a/xprofile/.xprofile
+++ b/xprofile/.xprofile
@@ -4,4 +4,8 @@ xmodmap .xmodmaprc
 gpg-connect-agent /bye
 xrdb -I$HOME/.xresources .xresources/main
 nm-applet &
+if command -v autorandr
+then
+  autorandr --change --force
+fi
 sxhkd &