1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-12 19:54:16 +00:00
Dotfiles/.config/polybar/polybar-scripts/battery-combined-udev/95-battery.rules

5 lines
264 B
Plaintext
Raw Normal View History

2020-07-27 04:59:00 +00:00
SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", \
RUN+="/home/user/.config/polybar/battery-combined-udev.sh --update"
SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", \
RUN+="/home/user/.config/polybar/battery-combined-udev.sh --update"