aboutsummaryrefslogtreecommitdiff
path: root/src/usr/local
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-04 21:43:01 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-04 21:43:01 -0400
commitdb9ed9244f70eeca7611ade5f4efcf47d9199fff (patch)
tree046736c34ff9341ee782eadd2b86dc4099c2b070 /src/usr/local
parent67337ba3ea87564f4924bd080304e8c962f48202 (diff)
highlight caps lock on low battery
Diffstat (limited to 'src/usr/local')
-rwxr-xr-xsrc/usr/local/bin/bat-led-set3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/bin/bat-led-set b/src/usr/local/bin/bat-led-set
new file mode 100755
index 0000000..8a7397e
--- /dev/null
+++ b/src/usr/local/bin/bat-led-set
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo $1 >/sys/class/leds/input3::capslock/brightness