dotfiles/.bin/OLD/autorandr-c

8 lines
175 B
Plaintext
Raw Normal View History

#!/bin/sh
export DISPLAY=:0
export HOME=/home/sdk
/usr/local/bin/autorandr -c
/usr/bin/pgrep -q herbstluftwm \
&& doas -u sdk /usr/local/bin/herbstclient detect_monitors