diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2024-07-09 21:29:12 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2024-07-09 21:29:12 +0900 |
| commit | 92f7e4c9c1fc48805e950e4809158af9749ddaf9 (patch) | |
| tree | c1924d3f6b13199701685f573817b55d56a2f93d /config | |
| parent | 122e87ed729ce3b5a527dd2537da8641a9425c1d (diff) | |
updated waybar update for arch linux
Diffstat (limited to 'config')
| -rw-r--r-- | config/waybar/modules | 2 |
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", }, |
