From 4bd46fb079fb5a32ee6eb2b297de273b261a9c71 Mon Sep 17 00:00:00 2001 From: Connor E <38229097+c-edw@users.noreply.github.com> Date: Sat, 17 Nov 2018 16:11:28 +0000 Subject: Implement strip_workspace_name. --- include/swaybar/bar.h | 1 + include/swaybar/config.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include/swaybar') 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 { struct wl_list link; // swaybar_output::workspaces int num; char *name; + char *label; bool focused; bool visible; 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 { char *hidden_state; char *modifier; bool strip_workspace_numbers; + bool strip_workspace_name; bool binding_mode_indicator; bool wrap_scroll; bool workspace_buttons; -- cgit v1.2.3