adi1090x / battery-wallpaper

Simple bash script to set wallpaper according to battery percentage with charging animations.
GNU General Public License v3.0
394 stars 22 forks source link

MacOS fix #11

Closed sfroment closed 4 years ago

sfroment commented 4 years ago

This PR intead to fix 2 bug The 1st one is that xrandr isn't available on macOS, and windows /usr/local/bin/bwall: line 27: xrandr: command not found The 2nd on is an error in my previous PR where I've forgot to escape the "%" char, and it was causing /usr/local/bin/bwall: line 131: [[: 100%: syntax error: operand expected (error token is "%")