diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-10-12 20:23:01 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-10-12 20:23:01 +0100 |
| commit | aa4994de6bfb33932798ccc3c5bf974c90637b29 (patch) | |
| tree | 06ab708d92e6727006aa8912a26a5b3851cc6cd4 /include | |
| parent | fa54487db45bd69a39b7e7804a04f17428f2622c (diff) | |
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')
| -rw-r--r-- | include/swaybar/bar.h | 2 | ||||
| -rw-r--r-- | include/swaybar/config.h | 1 |
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 { struct swaybar { char *id; + char *mode; + bool mode_pango_markup; struct wl_display *display; 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 { char *font; char *sep_symbol; char *mode; - bool mode_pango_markup; bool strip_workspace_numbers; bool binding_mode_indicator; bool wrap_scroll; |
