Waybar: Split date & time into 2 "clock" modules.

This commit is contained in:
Viyurz 2023-11-29 17:02:28 +01:00
parent 9382f4a516
commit a99c796c43
No known key found for this signature in database

View file

@ -20,7 +20,8 @@
"memory",
"custom/cpu-temp",
"cpu",
"clock",
"clock#date",
"clock#time",
"custom/dnd-toggle"
],
@ -186,9 +187,9 @@
"format": " {usage}%",
"interval": 5
},
"clock": {
"clock#date": {
"interval": 1,
"format": "󰥔 {:%X}",
"format": "󰃭 {:%Ex}",
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"mode": "month",
@ -200,6 +201,11 @@
}
}
},
"clock#time": {
"interval": 1,
"format": "󰥔 {:%EX}",
"tooltip": false
},
"custom/dnd-toggle": {
"exec": "$HOME/.scripts/waybar-dnd-toggle.sh --no-toggle",
"interval": "once",