feat(waybar): add restart-interval and middle-click for manual update refresh

Replace interval with restart-interval=0 to allow manual trigger. Add middle-click to force update check via SIGUSR1. Remove obsolete backup file.
This commit is contained in:
2026-06-15 19:37:56 +08:00
parent bd61a909ce
commit 3d02b2dcc2
2 changed files with 2 additions and 357 deletions

View File

@@ -383,8 +383,9 @@
"updated": ""
},
"exec": "~/.config/waybar/scripts/check-updates.sh",
"interval": 3600,
"restart-interval": 0,
"on-click": "kitty -e paru",
"on-click-middle": "pkill -SIGUSR1 -f ~/.config/waybar/scripts/check-updates.sh"
},
//隐私
"privacy": {