all repos — nixfiles @ b63e78ef7513df0ef510ffd3f86aee8c462eca61

System and user configuration, managed by nix and home-manager

xprofile: Run autorandr on startup
Alan Pearce alan@alanpearce.eu
Fri, 08 Sep 2017 21:21:22 +0200
commit

b63e78ef7513df0ef510ffd3f86aee8c462eca61

parent

f9fecd32dfdd8cd4fd5aaf2e322e1d9e7ca8cad6

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M xprofile/.xprofilexprofile/.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 &