From d9a007518599333cc50a1e558bd4e20953dd2833 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Tue, 12 May 2020 22:51:01 -0400
Subject: improved minecraft, added avr, freecad, build
The build now auto-detects wireless interface and sets java for minec-
raft. It also allows for an interactive `passwd` question.
---
src/etc/udev/rules.d/99-lowbat.rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/etc/udev')
diff --git a/src/etc/udev/rules.d/99-lowbat.rules b/src/etc/udev/rules.d/99-lowbat.rules
index c5a9b76..0d90607 100644
--- a/src/etc/udev/rules.d/99-lowbat.rules
+++ b/src/etc/udev/rules.d/99-lowbat.rules
@@ -1,4 +1,4 @@
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-1]", RUN+="/usr/bin/systemctl hybrid-sleep"
-SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/local/bin/bat-led-set 1"
+SUBSYSTEM=="power_supply", ATTR{manufacturer}=="Celxpert", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/local/bin/bat-led-set 1"
SUBSYSTEM=="power_supply", ATTR{status}=="Charging", RUN+="/usr/local/bin/bat-led-set 0"
--
cgit