aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar
diff options
context:
space:
mode:
authorLibravatar Connor E <38229097+c-edw@users.noreply.github.com>2018-11-17 16:11:28 +0000
committerLibravatar Connor E <38229097+c-edw@users.noreply.github.com>2018-11-17 16:11:28 +0000
commit4bd46fb079fb5a32ee6eb2b297de273b261a9c71 (patch)
tree81dfd95a863ae17de78a6c69a14dd5698c6de862 /include/swaybar
parentMerge pull request #3046 from tokyovigilante/relative-transform (diff)
downloadsway-4bd46fb079fb5a32ee6eb2b297de273b261a9c71.tar.gz
sway-4bd46fb079fb5a32ee6eb2b297de273b261a9c71.tar.zst
sway-4bd46fb079fb5a32ee6eb2b297de273b261a9c71.zip
Implement strip_workspace_name.
Diffstat (limited to 'include/swaybar')
-rw-r--r--include/swaybar/bar.h1
-rw-r--r--include/swaybar/config.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index 95b20510..57c5114e 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -68,6 +68,7 @@ struct swaybar_workspace {
68 struct wl_list link; // swaybar_output::workspaces 68 struct wl_list link; // swaybar_output::workspaces
69 int num; 69 int num;
70 char *name; 70 char *name;
71 char *label;
71 bool focused; 72 bool focused;
72 bool visible; 73 bool visible;
73 bool urgent; 74 bool urgent;
diff --git a/include/swaybar/config.h b/include/swaybar/config.h
index 5d40790a..700e6b60 100644
--- a/include/swaybar/config.h
+++ b/include/swaybar/config.h
@@ -34,6 +34,7 @@ struct swaybar_config {
34 char *hidden_state; 34 char *hidden_state;
35 char *modifier; 35 char *modifier;
36 bool strip_workspace_numbers; 36 bool strip_workspace_numbers;
37 bool strip_workspace_name;
37 bool binding_mode_indicator; 38 bool binding_mode_indicator;
38 bool wrap_scroll; 39 bool wrap_scroll;
39 bool workspace_buttons; 40 bool workspace_buttons;