95-powerplug-change.rules (121B)
1 ACTION=="change", SUBSYSTEM=="power_supply", RUN+="/bin/sh -c 'cat /sys/class/power_supply/AC/online > /tmp/.ac_status'"
dotfilesMy collection of dotfiles | |
git clone git://git.noxz.tech/dotfiles | |
Log | Files | Refs |
95-powerplug-change.rules (121B)
1 ACTION=="change", SUBSYSTEM=="power_supply", RUN+="/bin/sh -c 'cat /sys/class/power_supply/AC/online > /tmp/.ac_status'"