summarylogtreecommitdiffstats
path: root/numlock_hook
diff options
context:
space:
mode:
authormmatejg2015-09-01 16:05:34 +0200
committermmatejg2015-09-01 16:05:34 +0200
commitbc81b6ac1a5e7e93ac961dc7838b3fb5b517aee7 (patch)
tree44e9a61d4e5dc9906e03dae986d19f0e9d6a357c /numlock_hook
downloadaur-bc81b6ac1a5e7e93ac961dc7838b3fb5b517aee7.tar.gz
adopt package
adopted package after AUR4 transition
Diffstat (limited to 'numlock_hook')
-rw-r--r--numlock_hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/numlock_hook b/numlock_hook
new file mode 100644
index 00000000000..04991283c71
--- /dev/null
+++ b/numlock_hook
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+run_hook ()
+{
+ INITTY=/dev/tty[1-6]
+ for tty in $INITTY; do
+ /usr/bin/setleds -D +num < $tty
+ done
+}