feat(waybar): update clock module
* Add a clock icon * Change alt format to AM/PM * Change tooltip to mini calendar, with scrollable months
This commit is contained in:
@@ -149,9 +149,23 @@
|
|||||||
|
|
||||||
"clock": {
|
"clock": {
|
||||||
"interval": 10,
|
"interval": 10,
|
||||||
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt
|
"format": " {:%H:%M}",
|
||||||
"format": "{:%H:%M}",
|
"format-alt": " {:%OI:%M %p}",
|
||||||
"tooltip-format": "{:%e %B %Y}"
|
"tooltip-format": " {:%A %m/%d}\n\n<tt><small>{calendar}</small></tt>",
|
||||||
|
"calendar": {
|
||||||
|
"on-scroll": 1,
|
||||||
|
"format": {
|
||||||
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||||
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||||
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||||||
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||||
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"actions": {
|
||||||
|
"on-scroll-up": "shift_up",
|
||||||
|
"on-scroll-down": "shift_down"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
|
|||||||
Reference in New Issue
Block a user