From dac1e40a2b328cf10d3f8dff790b9f6cc5d216b4 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 22 Dec 2018 16:54:50 -0500 Subject: [PATCH] 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. --- bspwm/.config/bspwm/bspwmrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 0bf78395..52d7f6d8 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -48,8 +48,8 @@ xset s off -dpms # Start compton compton -b -# Start polybar -~/.config/polybar/launch.sh main +# Start polybar and other things based on DPI +~/.config/xeventbind/on-resolution-change.sh # bspc rules bspc rule -a mpv state=floating