Created
May 30, 2023 06:38
-
-
Save ElPresidentePoole/3442966a967a700f77b39dd70c236d9d to your computer and use it in GitHub Desktop.
Check for Updates on Void Linux (xbps)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
UPDATE_COUNT=$(xbps-install -SMnu | wc -l) | |
notify-send "$UPDATE_COUNT updates are available for install." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment