Krolyxon
Commit 3ff9631

Branches

Refs →

dotfiles-x113ff9631

waybar: some css changes for workspaces hover

Author
krolxon
Date
2025-08-10 22:27 +0530
Parent
feae881
Commit
3ff9631193d46fb264d613045ce446225d0b829f

+12 −8

2 files changed

  1. M .config/waybar/config.jsonc +2 −1
  2. M .config/waybar/style.css +10 −7
M .config/waybar/config.jsonc View
@@ -62,7 +62,8 @@
6262 "show-special": false
6363 },
6464 "hyprland/window": {
65− "format": "󰣇 {}"
65+ "format": "󰣇 {}",
66+ "max-length": 50
6667 },
6768 "tray": {
6869 "icon-size": 13,
M .config/waybar/style.css View
@@ -103,10 +103,17 @@ window#waybar.hidden {
103103 border-bottom-right-radius: 8px;
104104 }
105105
106+/* empty persistent workspaces */
107+#workspaces button.empty {
108+ background-color: @base;
109+ box-shadow: none;
110+}
111+
106112 #workspaces button:hover {
107− transition-duration: .2s;
113+ /* transition-duration: .3s; */
108114 color: @base;
109− box-shadow: inherit;
115+ background-color: #7da6ff;
116+ box-shadow: inset 0 -1px #ffffff;
110117 /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
111118 text-shadow: inherit;
112119 }
@@ -116,11 +123,7 @@ window#waybar.hidden {
116123 background-color: #4c566a;
117124 }
118125
119−/* empty persistent workspaces */
120−#workspaces button.empty {
121− background-color: @base;
122− box-shadow: none;
123−}
126+
124127
125128 /* active or visible workspaces */
126129 #workspaces button.active,