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
286 B

4 years ago
  1. #! /bin/sh
  2. icon="󰓇"
  3. ibg=^b#875B82^
  4. ifg=^c#1DB954^
  5. tfg=^c#292541^
  6. tbg=^b#cdabb8^
  7. reset=^d^
  8. status=$(~/.local/bin/status-bar/spotify_status.py)
  9. runstate=$(pgrep -c spotify)
  10. if [[ $runstate -le 1 ]]; then
  11. echo ""
  12. else
  13. echo "$ibg$ifg $icon $tbg$tfg $status $reset"
  14. fi