cmd_bar improvements (#4014)

- Split cmd_bar into 2 functions, improving errors and reducing strcmps
- Only update barconfig when something has changed
- Only update barconfig for the specific bar that has changed

Fixes #3958
This commit is contained in:
Orestis Floros
2020-05-07 09:22:03 +02:00
committed by GitHub
parent 142b3fa945
commit f63a4bef54
6 changed files with 55 additions and 84 deletions

View File

@ -17,6 +17,7 @@ strongly encouraged to upgrade.
• make dock client order deterministic (sorted by class/instance) as a
side effect, i3bars without an explicit bar-id will be sorted according
to their definition order in the config file
• update i3bar config when necessary (reduces redraws on bar mode changes)
• mention rofi in default config file
┌────────────────────────────┐