diff options
author | Justine Smithies <justine@smithies.me.uk> | 2025-07-03 18:16:27 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2025-07-03 18:16:27 +0100 |
commit | 2341d70964b4dc72b83716bbb737521cd52426d4 (patch) | |
tree | 91b9f92f607a7dbdcb75dffa6180fc4538f7631d | |
parent | 912a3788c4f7f609a6b99bc02fdfbb58c74e8fcb (diff) |
Added shadows to Waybar
-rw-r--r-- | .config/waybar/config | 3 | ||||
-rw-r--r-- | .config/waybar/style.css | 51 |
2 files changed, 6 insertions, 48 deletions
diff --git a/.config/waybar/config b/.config/waybar/config index 79d9e2d..b619e63 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -1,10 +1,11 @@ { "layer": "top", - "height": 20, + "height": 23, "spacing": 5, "margin-top" :5, "margin-right" :10, "margin-left" :10, + "margin-bottom" :-5, "modules-left": [ "dwl/tags", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 70a1a4e..896b1d5 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -9,8 +9,8 @@ border-radius: 0; border: none; text-shadow: none; + text-decoration: none; transition: none; - box-shadow: none; } /* the whole window */ @@ -29,13 +29,6 @@ window#waybar.hidden { /* #tags button.focused, */ /* #tags button.urgent, */ /* #tags button:not(.occupied):not(.focused), */ -#workspaces button, -#workspaces button:hover, -#workspaces button.visible, -#workspaces button.visible:hover, -#workspaces button.active, -#workspaces button.active:hover, -#workspaces button.urgent, /* #window, */ #idle_inhibitor, #language, @@ -54,6 +47,8 @@ window#waybar.hidden { color: #202020; background: #202020; border: 2px solid #202020; + margin: 0px 4px 4px 0px; + box-shadow: 3px 4px 2px -2px rgba(0, 0, 0, 0.5); } /* #window, */ @@ -72,44 +67,6 @@ window#waybar.hidden { } /* ================================ */ -/* workspaces module */ -/* ================================ */ -#workspaces { - margin: 0px; -} - -#workspaces button { - color: #fff4d2; - padding: 0 4px; - margin: 0px 3px; - min-width: 15px; -} - -#workspaces button:hover { - background: #d3869b; -} - -#workspaces button.visible { - background: #8ec07c; -} - -#workspaces button.visible:hover { - background: #8ec07c; -} - -#workspaces button.active { - background: #8ec07c; -} - -#workspaces button.active:hover { - background: #8ec07c; -} - -#workspaces button.urgent { - background: #cc241d; -} - -/* ================================ */ /* idle_inhibitor */ /* ================================ */ @@ -196,7 +153,7 @@ window#waybar.hidden { /* ================================ */ #tags { - margin: 0px; + padding: 0; } #tags button { |