aboutsummaryrefslogtreecommitdiff
path: root/src/usr/local/bin/bat-led-set
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/bin/bat-led-set')
-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