diff --git a/resources/config b/resources/config index 4be4afb6..1709cc28 100644 --- a/resources/config +++ b/resources/config @@ -4,7 +4,7 @@ // "height": 30, // Waybar height // "width": 1280, // Waybar width // Choose the order of the modules - "modules-left": ["sway/workspaces", "custom/spotify"], + "modules-left": ["sway/workspaces", "sway/mode", "custom/spotify"], "modules-center": ["sway/window"], "modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "battery#bat2", "clock", "tray"], // Modules configuration @@ -23,6 +23,9 @@ // "default": "" // } // }, + "sway/mode": { + "format": "{}" + }, "sway/window": { "max-length": 50 }, diff --git a/resources/style.css b/resources/style.css index 0eb1680d..d104b63c 100644 --- a/resources/style.css +++ b/resources/style.css @@ -23,7 +23,12 @@ window#waybar { border-bottom: 3px solid white; } -#clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray { +#mode { + background: #64727D; + border-bottom: 3px solid white; +} + +#clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray #mode { padding: 0 10px; margin: 0 5px; }