mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-16 11:51:13 +01:00
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
|
||||
~/.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 rule -a mpv state=floating
|
||||
bspc rule -a feh state=floating
|
||||
|
Loading…
Reference in New Issue
Block a user