Open rensenware opened 3 years ago
Sorry for the late response. Could you post your polybar config? Is it both the battery and keyboard module or either one that causes issues? Could you post the battery module script if there is one?
I don't think the polybar config is an issue- it works with even an example polybar config with the script added. It happens with battery-combined-udev (https://github.com/polybar/polybar-scripts/tree/master/polybar-scripts/battery-combined-udev) and my keyboard script which uses the same code to update itself. If it doesn't happen on your config, I can provide my polybar config and scripts.
I have two polybar modules, battery-combined-udev and a custom keyboard layout indicator, which quickly make themselves and the surrounding modules 'flash' in a glitchy way upon an update of it. It doesn't do this with polybar with the dwm module disabled or on any other wm (tested on xmonad, i3wm, and bspwm), so I strongly suspect it's an issue with this patch or with dwm itself. The keyboard indicator layout module for reference: