1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

feat(waybar): better calendar

This commit is contained in:
Ryan 2024-03-03 14:10:09 +08:00
parent 3415baa46e
commit 96281526f5
2 changed files with 96 additions and 70 deletions

View File

@ -54,6 +54,7 @@ window#waybar {
#clock {
color: @foreground;
font-weight: bold;
}
#battery {

View File

@ -14,7 +14,7 @@
"format-alt": " {usage}% @ {avg_frequency}GHz"
},
"memory": {
"format": "󰍛 {used:0.1f}G / {total:0.1f}G",
"format": "󰍛 {used:0.1f} / {total:0.1f}G",
"format-alt": "󰓡 Swap: {swapUsed:0.1f}G / {swapTotal:0.1f}G"
},
"network": {
@ -35,11 +35,36 @@
"format-charging": "󰉁 {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} ETA: {time}",
"format-icons": ["", "", "", "", ""]
"format-icons": [
"",
"",
"",
"",
""
]
},
"clock": {
"format": "{:󰅐 %H:%M  %m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
"format": "{:󰅐 %H:%M}",
"format-alt": "{: %m-%d}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#98971a'><b>{}</b></span>",
"days": "<span color='#ebdbb2'><b>{}</b></span>",
"weeks": "<span color='#458588'><b>W{}</b></span>",
"weekdays": "<span color='#d79921'><b>{}</b></span>",
"today": "<span color='#d65d0e'><b><u>{}</u></b></span>"
}
},
"actions": {
"on-click-right": "mode",
"on-scroll-down": "shift_up",
"on-scroll-up": "shift_down"
}
},
"custom/notification": {
"tooltip": true,