aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-12 22:51:01 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-12 22:53:27 -0400
commitd9a007518599333cc50a1e558bd4e20953dd2833 (patch)
treee309e52a929f28e739d25e4b3eed881fa9dda9a4 /src
parentd62f1c467706b15d3f69931942754f4e2917bc3e (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/etc/udev/rules.d/99-lowbat.rules2
1 files changed, 1 insertions, 1 deletions
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"