Skip to content

Instantly share code, notes, and snippets.

View nguyenhai97's full-sized avatar

Nguyễn Đăng Hải nguyenhai97

View GitHub Profile
@Apsu
Apsu / 10-power.rules
Created August 23, 2012 05:38
power_supply udev rule
ACTION=="change", SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="[01]", RUN+="power %E{POWER_SUPPLY_ONLINE}"