patrick-motard / dotfiles

My dotfiles
The Unlicense
19 stars 8 forks source link

auto reload polybar when screen resolution changes #73

Closed patrick-motard closed 6 years ago

patrick-motard commented 6 years ago

maybe a script that runs as a cron, receives events from xserver using xlib, then reloads polybar if resolution changes.

This bug more often affects virtualbox, where the screen resolution changes frequently. Without this, whenver the resolution changes, polybar bars dont update and are either too wide or too narrow.

patrick-motard commented 6 years ago

fixed now. now the repo uses polybar-reload, a python package i wrote. you can find it on pypi