Compare commits

..

No commits in common. "07f846c29e2f54a1ada7258bbfd42ae2579f500a" and "c3d39e92ee5a76c6657c1cbe58195ac16b01cb37" have entirely different histories.

2 changed files with 10 additions and 9 deletions

View file

@ -22,7 +22,8 @@
"memory", "memory",
"custom/cpu-temp", "custom/cpu-temp",
"cpu", "cpu",
"clock" "clock#date",
"clock#time"
], ],
"hyprland/workspaces": { "hyprland/workspaces": {
"disable-scroll": true, "disable-scroll": true,
@ -36,7 +37,7 @@
}, },
"custom/pkg-update-count": { "custom/pkg-update-count": {
"exec": "$HOME/.scripts/waybar-pkg-update-count.sh", "exec": "$HOME/.scripts/waybar-pkg-update-count.sh",
"interval": 3600, "interval": "once",
"on-click": "$HOME/.scripts/waybar-pkg-update-count.sh", "on-click": "$HOME/.scripts/waybar-pkg-update-count.sh",
"signal": 3, "signal": 3,
"return-type": "json", "return-type": "json",
@ -212,9 +213,9 @@
"format": " {usage}%", "format": " {usage}%",
"interval": 5 "interval": 5
}, },
"clock": { "clock#date": {
"interval": 1, "interval": 1,
"format": "󰥔 {:%e %b %Y - %EX}", "format": "󰃭 {:%Ex}",
"tooltip-format": "<tt>{calendar}</tt>", "tooltip-format": "<tt>{calendar}</tt>",
"calendar": { "calendar": {
"mode": "month", "mode": "month",
@ -225,5 +226,10 @@
"today": "<span color='#ff6699'><b>{}</b></span>" "today": "<span color='#ff6699'><b>{}</b></span>"
} }
} }
},
"clock#time": {
"interval": 1,
"format": "󰥔 {:%EX}",
"tooltip": false
} }
} }

View file

@ -39,11 +39,6 @@ while [[ $retry_count -le $max_retries && $success -ne 1 ]]; do
done done
# Show time of check
time="$(date '+%H:%M:%S')"
tooltip="$tooltip\nLatest check: $time"
cat << EOF cat << EOF
{"text": "$output", "alt": "$class", "tooltip": "$tooltip", "class": "$class"} {"text": "$output", "alt": "$class", "tooltip": "$tooltip", "class": "$class"}
EOF EOF