diff --git a/waybar/config b/waybar/config index e51c5c2..69434aa 100644 --- a/waybar/config +++ b/waybar/config @@ -6,7 +6,7 @@ // "width": 1280, // Waybar width // Choose the order of the modules "modules-left": ["sway/workspaces", "sway/mode", "custom/media"], - "modules-center": [], + "modules-center": ["sway/window"], "modules-right": ["idle_inhibitor", "network", "bluetooth", "battery", "battery#bat2", "clock", "tray"], // Modules configuration // "sway/workspaces": { @@ -27,6 +27,9 @@ "sway/mode": { "format": "{}" }, + "sway/window": { + "max-length": 50 + }, "idle_inhibitor": { "format": "{icon}", "format-icons": { diff --git a/waybar/style.css b/waybar/style.css index d6ab3f9..aef2fcd 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -9,17 +9,16 @@ window#waybar { background-color: rgba(0,0,0, 0.8); - color: white; + color: transparent; transition-property: all; transition-duration: 200ms; transition-timing-function: ease-in-out; } window#waybar.hidden { - opacity: 0.8; + background-color: yellow; } - window#waybar.empty { background-color: transparent; } @@ -27,7 +26,6 @@ window#waybar.solo { background-color: rgba(0,0,0,0.8); } - window#waybar.termite { background-color: #3F3F3F; } @@ -175,7 +173,7 @@ label:focus { } #network { - background-color: rgba(110, 178, 179, 0.6); + background-color: rgba(10, 120, 120, 0.6); border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; transition-property: background-color; @@ -184,7 +182,7 @@ label:focus { } #network.disconnected { - background-color: rgba(141, 110, 179, 0.6); + background-color: rgba(120, 10, 120, 0.6); } #bluetooth {