Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
346 B

4 years ago
4 years ago
4 years ago
  1. #!/bin/sh
  2. icon=
  3. if ! updates=$(checkupdates 2> /dev/null | wc -l ); then
  4. updates=0
  5. fi
  6. case $BLOCK_BUTTON in
  7. 1) "$TERMINAL" -e yay -Syu;;
  8. 6) "$TERMINAL" -e "$EDITOR" "$0" ;;
  9. esac
  10. echo $updates > ~/.cache/pacman_updates
  11. #echo "$ifg $icon $tfg$(cat ~/.cache/pacman_updates)"
  12. echo "^c#a48ead^$icon ^d^ $(cat ~/.cache/pacman_updates)"