adi1090x / polybar-themes

A huge collection of polybar themes with different styles, colors and variants.
GNU General Public License v3.0
5.59k stars 406 forks source link

pywal command not identified when installed with pip #110

Open mexiquin opened 3 years ago

mexiquin commented 3 years ago

Problem

execution of the pywal.sh script shows [!] 'pywal' is not installed. error, even though pywal has been installed with the pip package manager

Quick Workaround

Inside the pywal.sh file of the chosen theme, underneath the "Main" comment, I replaced

# Main
if [[ -f "/usr/bin/wal" ]]; then 

with

# Main
if [ -x "$(command -v wal)" ]; then

so that it will search in PATH instead, which got it working for me