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.

17 lines
280 B

4 years ago
  1. #!/bin/sh
  2. icon=󰮯
  3. ibg=^b#705B86^
  4. ifg=^c#fabd2f^
  5. tfg=^c#292541^
  6. tbg=^b#cdabb8^
  7. reset=^d^
  8. if ! updates=$(checkupdates 2> /dev/null | wc -l ); then
  9. updates=0t
  10. fi
  11. echo $updates > ~/.cache/pacman_updates
  12. echo "$ibg$ifg $icon $tfg$tbg $(cat ~/.cache/pacman_updates) $reset"