aboutsummaryrefslogtreecommitdiffstats
path: root/config/waybar/modules
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-08-14 00:48:44 +0900
committerGitHub <noreply@github.com>2024-08-14 00:48:44 +0900
commitac062ecf708b28d10cc3275fcf9e18c736d568f4 (patch)
treed80f5d1f469304bd625b4a8fd2c49085e24f3285 /config/waybar/modules
parentf9ff441fe41e4af112411b4bef55bca98c2f7474 (diff)
parent69a7793deddb102d9643d5ee047bde81ba25bcbd (diff)
Merge pull request #402 from JaKooLit/main
Main to AGS-Dev
Diffstat (limited to 'config/waybar/modules')
-rw-r--r--config/waybar/modules2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/waybar/modules b/config/waybar/modules
index 3132cc46..57393c08 100644
--- a/config/waybar/modules
+++ b/config/waybar/modules
@@ -707,7 +707,7 @@
"exec": "checkupdates | wc -l",
"exec-if": "[[ $(checkupdates | wc -l) ]]",
"interval": 15,
- "on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'",
+ "on-click": "if command -v paru &> /dev/null; then kitty -T update paru -Syu; else kitty -T update yay -Syu; fi && notify-send 'The system has been updated'",
"tooltip": true,
"tooltip-format": "Left Click: Update System\nArch Linux Only",
},
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage