Waybar: Split date & time into 2 "clock" modules.
This commit is contained in:
parent
9382f4a516
commit
a99c796c43
1 changed files with 9 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue