Compare commits

..

2 commits

Author SHA1 Message Date
Viyurz
910186c692
Waybar: Reduced gap between modules. 2023-11-29 17:03:04 +01:00
Viyurz
a99c796c43
Waybar: Split date & time into 2 "clock" modules. 2023-11-29 17:02:28 +01:00
2 changed files with 12 additions and 5 deletions

View file

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

View file

@ -59,8 +59,9 @@
#memory, #memory,
#custom-cpu-temp, #custom-cpu-temp,
#cpu, #cpu,
#clock { #clock,
padding: 2px 8px; #custom-dnd-toggle {
padding: 2px 6px;
} }
/* /*