Add clock back to waybar

This commit is contained in:
Leni Aniva 2023-10-07 14:31:10 -07:00
parent e60621c175
commit b71353c67e
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 6 additions and 7 deletions

View File

@ -13,8 +13,7 @@
"modules-right": [ "modules-right": [
"tray", "tray",
"idle_inhibitor", "keyboard-state", "idle_inhibitor", "keyboard-state",
"pulseaudio", "bluetooth", "network", "cpu", "memory", "temperature", "battery" "pulseaudio", "bluetooth", "network", "cpu", "memory", "temperature", "battery", "clock"
//"clock"
], ],
"wlr/workspaces": { "wlr/workspaces": {
"format": "{icon}", // {name} "format": "{icon}", // {name}
@ -93,11 +92,6 @@
"icon-size": 21, "icon-size": 21,
"spacing": 10 "spacing": 10
}, },
"clock": {
"format": "{: %H:%M  %d/%m}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%a, %d %b %Y}"
},
"cpu": { "cpu": {
"align": 0, "align": 0,
"interval": 2, "interval": 2,
@ -169,5 +163,10 @@
"default": ["", "", ""] "default": ["", "", ""]
}, },
"on-click": "pavucontrol" "on-click": "pavucontrol"
},
"clock": {
"format": "{: %d/%m  %H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%a, %d %b %Y}"
} }
} }