1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-10-30 07:31:50 +08:00

fix(waybar): Fix new waybar breaking date display

This commit is contained in:
Ryan 2024-05-10 17:44:25 +08:00
parent 0f50208841
commit 94e7eb1b8b
4 changed files with 57 additions and 48 deletions

View File

@ -1,8 +1,8 @@
#set font and stuff #set font and stuff
font_family Iosevka Term SS15 font_family Iosevka Term
bold_font Iosevka Term SS15 Bold bold_font Iosevka Term Bold
italic_font Iosevka Term SS15 Italic italic_font Iosevka Curly Italic
bold_italic_font Iosevka Term SS15 Bold Italic bold_italic_font Iosevka Term Bold Italic
font_size 14 font_size 14

@ -1 +1 @@
Subproject commit fa186c0c09ff58b3793126739ba59552243b848a Subproject commit e54bdaa5240d5315eaffc4e96e4b13d9887e80f0

View File

@ -35,7 +35,7 @@ window#waybar {
font-weight: bold; font-weight: bold;
} }
#workspaces button.active { #workspaces button.focused {
color: @foreground; color: @foreground;
font-weight: bold; font-weight: bold;
} }
@ -110,3 +110,11 @@ window#waybar {
margin-left: 10px; margin-left: 10px;
margin-right: 10px; margin-right: 10px;
} }
#tray {
opacity: 0.5;
}
#tray:hover {
opacity: 1;
}

View File

@ -7,7 +7,8 @@
"max-length": 50 "max-length": 50
}, },
"tray": { "tray": {
"spacing": 10 "spacing": 10,
"show-passive-items": true
}, },
"cpu": { "cpu": {
"format": " {load}", "format": " {load}",
@ -44,7 +45,7 @@
] ]
}, },
"clock": { "clock": {
"format": "{:󰅐 %H:%M  %m-%d}", "format": "󰅐 {:%H:%M  %m-%d}",
"format-alt": " {:%A, %B %d, %Y (%r)}", "format-alt": " {:%A, %B %d, %Y (%r)}",
"tooltip-format": "<tt><small>{calendar}</small></tt>", "tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": { "calendar": {