.dotfiles/botfiles/.scripts/update-check
samedamci f4aa5d265c Edit scripts
- delete '.sh' from name
- edit screenshot script
  * use rofi instead of dmenu
  * add notification
  * fix area mode
- few changes in polybar config and updot
2020-03-13 12:45:30 +01:00

12 lines
200 B
Bash
Executable File

#!/bin/bash
killall wificheck.sh &> /dev/null
if ping -w 1 archlinux.org &> /dev/null
then
printf $(checkupdates+aur | wc -l)
else
echo "!!"
~/.scripts/wificheck.sh &> /dev/null & disown:
fi