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:
parent
dac1e40a2b
commit
0483131b62
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user