MaxVerevkin / i3bar-river

A port of i3bar for wlroots-based compositors
GNU General Public License v3.0
39 stars 5 forks source link

Support more than 9 tags #9

Closed justinlovinger closed 1 year ago

justinlovinger commented 1 year ago

River supports up to 32 tags, but only tags up to "9" are displayed in i3bar-river. As far as I can tell, the culprit is 1..10 here, https://github.com/MaxVerevkin/i3bar-river/blob/master/src/wm_info_provider/river.rs#L117, which should be 1..=32.

MaxVerevkin commented 1 year ago

It would be nice to support that. The reason it currently shows only first 9 tags it because the upper tags are used by some as "scratch" tags.

justinlovinger commented 1 year ago

The number of tags to show could be an option, for users who want to hide a subset of tags.

MaxVerevkin commented 1 year ago

Yeah. Something like

[wm.river]
max_tag = 9 # the default
max_tag = 32 # show all tags
MaxVerevkin commented 1 year ago

Implemented in 432b6d6