adi1090x / battery-wallpaper

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

Not working on GNOME #8

Closed yasoomn closed 4 years ago

yasoomn commented 4 years ago

when I execute the command bwall -option the terminal gives the following error cat: /sys/class/power_supply/wacom_battery_0/online: No such file or directory output 0: size(1920, 1080) pos(0, 0)

I'm running manjaro

rhysperry111 commented 4 years ago

This is a common error (seen it appear in a few forms) that is caused by the script having trouble detecting which power-supply/battery sensor to use. I will begin working on a PR to implement detection in a better way

adi1090x commented 4 years ago

try again, i've updated the code. i'm using acpi now to get battery info.

rhysperry111 commented 4 years ago

@adi1090x thanks, guess this means I don’t need to do anything now

yasoomn commented 4 years ago

It works now, thanks! The only bug still is that when I plug or unplug the power cable the wallpaper flashes green a few times and then works fine