This commit is contained in:
flick0
2023-09-12 13:24:34 +00:00
parent 3743c25261
commit fff09e1f77
3 changed files with 3 additions and 1 deletions

View File

@@ -26,4 +26,4 @@ misc {
source=./binds.conf
source=./rules.conf
source=./profiles/power.conf
source=./profiles/battery.conf

View File

@@ -0,0 +1 @@
SUBSYSTEM=="power_supply",ENV{POWER_SUPPLY_ONLINE}=="0",RUN+="/usr/bin/profile-battery.sh"

View File

@@ -0,0 +1 @@
SUBSYSTEM=="power_supply",ENV{POWER_SUPPLY_ONLINE}=="1",RUN+="/usr/bin/profile-power.sh"