mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
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.
This commit is contained in:
parent
a388ffa127
commit
fed11d1c7b
5 changed files with 15 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue