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",
"custom/cpu-temp",
"cpu",
"clock"
"clock#date",
"clock#time"
],
"hyprland/workspaces": {
"disable-scroll": true,
@ -36,7 +37,7 @@
},
"custom/pkg-update-count": {
"exec": "$HOME/.scripts/waybar-pkg-update-count.sh",
"interval": 3600,
"interval": "once",
"on-click": "$HOME/.scripts/waybar-pkg-update-count.sh",
"signal": 3,
"return-type": "json",
@ -212,9 +213,9 @@
"format": " {usage}%",
"interval": 5
},
"clock": {
"clock#date": {
"interval": 1,
"format": "󰥔 {:%e %b %Y - %EX}",
"format": "󰃭 {:%Ex}",
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"mode": "month",
@ -225,5 +226,10 @@
"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
# Show time of check
time="$(date '+%H:%M:%S')"
tooltip="$tooltip\nLatest check: $time"
cat << EOF
{"text": "$output", "alt": "$class", "tooltip": "$tooltip", "class": "$class"}
EOF