1
0
forked from extern/nix-config

bspwm: Run xeventbind in the background if found

This makes it so that the X DPI and other components are
automatically changed on resolution change.
This commit is contained in:
Donovan Glover 2018-12-22 17:02:37 -05:00
parent dac1e40a2b
commit 0483131b62
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -51,6 +51,10 @@ compton -b
# Start polybar and other things based on DPI # Start polybar and other things based on DPI
~/.config/xeventbind/on-resolution-change.sh ~/.config/xeventbind/on-resolution-change.sh
if hash xeventbind 2>/dev/null; then
xeventbind resolution $HOME/.config/xeventbind/on-resolution-change.sh &
fi
# bspc rules # bspc rules
bspc rule -a mpv state=floating bspc rule -a mpv state=floating
bspc rule -a feh state=floating bspc rule -a feh state=floating