tobi-wan-kenobi / bumblebee-status

bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
https://bumblebee-status.readthedocs.io/en/main/
MIT License
1.2k stars 229 forks source link

remove unnecessary `playerctl` subprocess call to determine whether widget should be hidden #957

Closed LokiLuciferase closed 1 year ago

LokiLuciferase commented 1 year ago

Hi,

On my system (Linux Mint 21, i3-gaps 4.21), using the playerctl.hide config option would lead to random failures:

Removing an additional unnecessary subprocess call to playerctl from the hidden() method fixes this completely. It is anyway sufficient to check whether the widget should be hidden at update time.

tobi-wan-kenobi commented 1 year ago

Thanks a lot for the improvement/bugfix!