waybar: fix clock

This commit is contained in:
Konstantin Koslowski 2024-05-31 17:16:03 +02:00
parent aeace6e00c
commit f83f1a9926

View file

@ -83,23 +83,23 @@
"exec": "$HOME/.config/sway/bin/waybar_mediaplayer.py 2> /dev/null" "exec": "$HOME/.config/sway/bin/waybar_mediaplayer.py 2> /dev/null"
}, },
"clock": { "clock": {
"format": "<span foreground='#ebdbb2'></span>{: %H:%M, %b %d }", "format": "<span foreground='#ebdbb2'> </span>{:%H:%M, %b %d }",
"format-alt": "<span foreground='#ebdbb2'> </span>{:%A, %B %d, %Y (%R)}", "format-alt": "<span foreground='#ebdbb2'> </span>{:%A, %B %d, %Y (%R)}",
"tooltip-format": "\n<span size='9pt'>{calendar}</span>", "tooltip-format": "\n<span size='9pt'>{calendar}</span>",
// "calendar": { "calendar": {
// "mode" : "year", "mode" : "year",
// "mode-mon-col" : 3, "mode-mon-col" : 3,
// "weeks-pos" : "right", "weeks-pos" : "right",
// "on-scroll" : 1, "on-scroll" : 1,
// "on-click-right": "mode", "on-click-right": "mode",
// "format": { "format": {
// "months": "<span color='#ebdbb2'><b>{}</b></span>", "months": "<span color='#ebdbb2'><b>{}</b></span>",
// "days": "<span color='#ebdbb2'><b>{}</b></span>", "days": "<span color='#ebdbb2'><b>{}</b></span>",
// "weeks": "<span color='#268bd2'><b>W{}</b></span>", "weeks": "<span color='#268bd2'><b>W{}</b></span>",
// "weekdays": "<span color='#b8bb26'><b>{}</b></span>", "weekdays": "<span color='#b8bb26'><b>{}</b></span>",
// "today": "<span color='#fb4934'><b><u>{}</u></b></span>" "today": "<span color='#fb4934'><b><u>{}</u></b></span>"
// } }
// }, },
"actions": { "actions": {
"on-click-right": "mode", "on-click-right": "mode",
"on-click-forward": "tz_up", "on-click-forward": "tz_up",