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



             
                                                     







                                                                             
#!/bin/bash

case $1 in
  key-update)
		foot 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