aboutsummaryrefslogblamecommitdiff
path: root/.config/qtile/statusbar/void-updates.sh
blob: 2f102ed0334bdf28b91faf27f8fb6faab8cac73d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



             
                                                      







                                                                             
#!/bin/bash

case $1 in
  key-update)
		kitty bash -c "sudo xbps-install -Suv"
		qtile cmd-obj -o widget checkupdates -f force_update
    ;;
  *)
		# Supress error codes to stop issues with CheckUpdates widget
		xbps-install -Mun 2> /dev/null
		exit 0
    ;;
esac