forked from extern/nix-config
bspwm: Set DPI before starting polybar
This change makes it so that DPI is determined when bspwm is started instead of relying on ~/.Xresources to always have the correct DPI.
This commit is contained in:
parent
e4eb86bdeb
commit
dac1e40a2b
@ -48,8 +48,8 @@ xset s off -dpms
|
|||||||
# Start compton
|
# Start compton
|
||||||
compton -b
|
compton -b
|
||||||
|
|
||||||
# Start polybar
|
# Start polybar and other things based on DPI
|
||||||
~/.config/polybar/launch.sh main
|
~/.config/xeventbind/on-resolution-change.sh
|
||||||
|
|
||||||
# bspc rules
|
# bspc rules
|
||||||
bspc rule -a mpv state=floating
|
bspc rule -a mpv state=floating
|
||||||
|
Loading…
Reference in New Issue
Block a user