diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bar.rs | 2 | ||||
| -rw-r--r-- | src/config.rs | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -207,7 +207,7 @@ impl Bar { } // Compute tags - if self.tags_computed.is_empty() { + if ss.config.show_tags && self.tags_computed.is_empty() { for tag in &self.tags { let (bg, fg) = if tag.is_urgent { (ss.config.tag_urgent_bg, ss.config.tag_urgent_fg) diff --git a/src/config.rs b/src/config.rs index 0863e1d..e84607a 100644 --- a/src/config.rs +++ b/src/config.rs @@ -44,6 +44,7 @@ pub struct Config { pub layer: Layer, pub hide_inactive_tags: bool, pub invert_touchpad_scrolling: bool, + pub show_tags: bool, pub show_layout_name: bool, pub blend: bool, pub show_mode: bool, @@ -88,6 +89,7 @@ impl Default for Config { layer: Layer::Top, hide_inactive_tags: true, invert_touchpad_scrolling: true, + show_tags: true, show_layout_name: true, blend: true, show_mode: true, |
