aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-10-12 20:23:01 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-10-14 13:33:12 +0100
commitfed11d1c7b388e999414dd8cec4b8982ba5ce950 (patch)
tree06ab708d92e6727006aa8912a26a5b3851cc6cd4 /include/swaybar
parentswaybar: only send initial workspace request if workspace buttons are enabled (diff)
downloadsway-fed11d1c7b388e999414dd8cec4b8982ba5ce950.tar.gz
sway-fed11d1c7b388e999414dd8cec4b8982ba5ce950.tar.zst
sway-fed11d1c7b388e999414dd8cec4b8982ba5ce950.zip
swaybar: move mode & mode_pango_markup to bar struct
This distinguishes the binding mode from the distinct config mode, as well as removing mode_pango_markup from the config struct where it should not be present.
Diffstat (limited to 'include/swaybar')
-rw-r--r--include/swaybar/bar.h2
-rw-r--r--include/swaybar/config.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index 72e0ca75..593f4f6d 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -47,6 +47,8 @@ struct swaybar_hotspot {
47 47
48struct swaybar { 48struct swaybar {
49 char *id; 49 char *id;
50 char *mode;
51 bool mode_pango_markup;
50 52
51 struct wl_display *display; 53 struct wl_display *display;
52 struct wl_compositor *compositor; 54 struct wl_compositor *compositor;
diff --git a/include/swaybar/config.h b/include/swaybar/config.h
index 99948463..68ee2087 100644
--- a/include/swaybar/config.h
+++ b/include/swaybar/config.h
@@ -31,7 +31,6 @@ struct swaybar_config {
31 char *font; 31 char *font;
32 char *sep_symbol; 32 char *sep_symbol;
33 char *mode; 33 char *mode;
34 bool mode_pango_markup;
35 bool strip_workspace_numbers; 34 bool strip_workspace_numbers;
36 bool binding_mode_indicator; 35 bool binding_mode_indicator;
37 bool wrap_scroll; 36 bool wrap_scroll;