aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2024-07-09 21:29:12 +0900
committerJaKooLit <jimmielovejay@gmail.com>2024-07-09 21:29:12 +0900
commit92f7e4c9c1fc48805e950e4809158af9749ddaf9 (patch)
treec1924d3f6b13199701685f573817b55d56a2f93d /config
parent122e87ed729ce3b5a527dd2537da8641a9425c1d (diff)
updated waybar update for arch linux
Diffstat (limited to 'config')
-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