Polybar with real transparency. New Rofi theme.

This commit is contained in:
Neptune 2020-10-05 21:53:43 +02:00
parent 111adde970
commit fce295ab57
19 changed files with 325 additions and 5656 deletions

View file

@ -3,6 +3,6 @@
defaults.ctl.card 1;
defaults.pcm.card 1;
pcm.!default {
type sndio
}
#pcm.!default {
# type sndio
#}

View file

@ -34,7 +34,7 @@ fallback_find_cover() {
album_cover="$(find "$album" -type d -exec find {} -maxdepth 1 -type f -iregex ".*\(covers?\|folders?\|artworks?\|fronts?\|scans?\).*[.]\(jpe?g\|png\|gif\|bmp\)" \;)"
[ ! -f "$album_cover" ] && album_cover="$(find "$album" -type d -exec find {} -maxdepth 1 -type f -iregex ".*[.]\(jpe?g\|png\|gif\|bmp\)" \;)"
[ ! -f "$album_cover" ] && album_cover="$(find "${album%/*}" -type d -exec find {} -maxdepth 1 -type f -iregex ".*\(covers?\|folders?\|artworks?\|fronts?\|scans?\|booklets?\).*[.]\(jpe?g\|png\|gif\|bmp\)" \;)"
album_cover="$(echo -n "$album_cover" | grep -iv 'disc\|back' | head -n1)"
album_cover="$(echo -n "$album_cover" | grep -iv 'back' | head -n1)"
}
main() {