From db9ed9244f70eeca7611ade5f4efcf47d9199fff Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Mon, 4 May 2020 21:43:01 -0400
Subject: highlight caps lock on low battery
---
src/usr/local/bin/bat-led-set | 3 +++
1 file changed, 3 insertions(+)
create mode 100755 src/usr/local/bin/bat-led-set
(limited to 'src/usr')
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
--
cgit