Browse Source

Revert "fix: Fixup waybar's integrated system updater module"

pull/377/head
Ja.KooLit 2 years ago committed by GitHub
parent
commit
3a2c20d7a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      config/waybar/modules

2
config/waybar/modules

@ -707,7 +707,7 @@
"exec": "checkupdates | wc -l", "exec": "checkupdates | wc -l",
"exec-if": "[[ $(checkupdates | wc -l) ]]", "exec-if": "[[ $(checkupdates | wc -l) ]]",
"interval": 15, "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": true,
"tooltip-format": "Left Click: Update System\nArch Linux Only", "tooltip-format": "Left Click: Update System\nArch Linux Only",
}, },

Loading…
Cancel
Save