diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2024-07-08 15:19:25 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-08 15:19:25 +0900 |
| commit | f7e09af424fbea3a8181f5a00f94fa678cced2d9 (patch) | |
| tree | 42c00f719c083dd31fbd00c29daed75effdda3d9 | |
| parent | 3e3273e5455bf87a717d372cada8491d2c19e26d (diff) | |
| parent | 3a2c20d7a762f8ac4da648b8023eaa7dedf9933a (diff) | |
Merge pull request #377 from JaKooLit/revert-373-main
Revert "fix: Fixup waybar's integrated system updater module"
| -rw-r--r-- | config/waybar/modules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/waybar/modules b/config/waybar/modules index b26f01b7..3132cc46 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": "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'", + "on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", "tooltip": true, "tooltip-format": "Left Click: Update System\nArch Linux Only", }, @@ -863,4 +863,4 @@ "interval": 86400, // once every day "tooltip": true, }, -} +}
\ No newline at end of file |
