Only add spacing if the module is not empty

If the module is empty (width is 0) no spacing will be rendered for it.

This makes modules that auto-hide (for example, network modules for interfaces not used all of the time) occupy no space in the bar.
This commit is contained in:
Nulo 2021-08-11 17:03:34 -03:00 committed by Daniel Eklöf
parent 315044d342
commit 910522262f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 23 additions and 6 deletions

View file

@ -21,6 +21,10 @@
### Changed
* bar: hide spacing of modules which are empty (width = 0)
### Deprecated
### Removed
### Fixed
@ -36,6 +40,7 @@
* [paemuri](https://codeberg.org/paemuri)
* [ericonr](https://codeberg.org/ericonr)
* [Nulo](https://nulo.in)
## 1.6.2