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:
parent
3415baa46e
commit
96281526f5
@ -54,6 +54,7 @@ window#waybar {
|
|||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"format-alt": " {usage}% @ {avg_frequency}GHz"
|
"format-alt": " {usage}% @ {avg_frequency}GHz"
|
||||||
},
|
},
|
||||||
"memory": {
|
"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"
|
"format-alt": " Swap: {swapUsed:0.1f}G / {swapTotal:0.1f}G"
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
@ -35,11 +35,36 @@
|
|||||||
"format-charging": " {capacity}%",
|
"format-charging": " {capacity}%",
|
||||||
"format-plugged": " {capacity}%",
|
"format-plugged": " {capacity}%",
|
||||||
"format-alt": "{icon} ETA: {time}",
|
"format-alt": "{icon} ETA: {time}",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{: %H:%M %m-%d}",
|
"format": "{: %H:%M}",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
"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": {
|
"custom/notification": {
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user