summaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config8
-rw-r--r--.config/waybar/style.css21
2 files changed, 18 insertions, 11 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 383627d..4860f68 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -7,14 +7,8 @@
"hyprland/workspaces": {
"format": "{icon}",
"format-icons": {
- "1": "",
- "2": "",
- "3": "",
- "4": "",
- "5": "",
- "6": "",
+ "default": "",
"active": "",
- "default": ""
},
"persistent-workspaces": {
"*": [ 1, 2, 3, 4, 5, 6 ]
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 91a7aad..2d2bf27 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -1,5 +1,6 @@
@define-color foreground rgba(228, 228, 239, 1);
@define-color foreground-active rgba(175, 215, 255, 1);
+@define-color foreground-disabled rgba(70, 70, 70, 1);
@define-color background rgba(0, 0, 0, 0.88);
* {
@@ -15,10 +16,6 @@ window#waybar {
background-color: @background;
}
-#workspaces button {
- color: @foreground;
-}
-
.module {
padding: 0rem 0.6rem;
}
@@ -29,9 +26,25 @@ window#waybar {
#workspaces button {
padding: 0 0.3rem;
+ color: @foreground;
+ transition: color 0.1s;
+
+ border: transparent; /* Disable default border when hovered */
+}
+
+#workspaces button.empty {
+ color: @foreground-disabled;
}
#workspaces button.active {
color: @foreground-active;
}
+#workspaces button:hover,
+#workspaces button.*:hover {
+ color: @foreground-active;
+
+ box-shadow: none; /* Remove predefined box-shadow */
+ text-shadow: none; /* Remove predefined text-shadow */
+ background: none; /* Remove predefined background color (white) */
+}