summaryrefslogtreecommitdiff
path: root/guix/kolwynia/home/bdunahu/files/.local/bin/xkeyboard-auto
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-12-13 23:43:10 -0500
committerbdunahu <bdunahu@operationnull.com>2026-01-03 21:46:06 -0700
commit288ccb3984c7cb46b67d0f6bf7fb6d53c5d7a2d3 (patch)
tree47091f5aeede90e1364546e8122cd55e6d7f2971 /guix/kolwynia/home/bdunahu/files/.local/bin/xkeyboard-auto
parentdf14036eb22ff9326c2806eb3f8cafc0d3042efa (diff)
guix: full refactor of configuration structure
Diffstat (limited to 'guix/kolwynia/home/bdunahu/files/.local/bin/xkeyboard-auto')
-rwxr-xr-xguix/kolwynia/home/bdunahu/files/.local/bin/xkeyboard-auto12
1 files changed, 12 insertions, 0 deletions
diff --git a/guix/kolwynia/home/bdunahu/files/.local/bin/xkeyboard-auto b/guix/kolwynia/home/bdunahu/files/.local/bin/xkeyboard-auto
new file mode 100755
index 0000000..b81ced4
--- /dev/null
+++ b/guix/kolwynia/home/bdunahu/files/.local/bin/xkeyboard-auto
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+/home/bdunahu/.local/bin/xkeyboard-toggle
+while true;
+do
+ if [ -f /tmp/keyboard_plugged ]; then
+ rm /tmp/keyboard_plugged
+ sleep 2
+ /home/bdunahu/.local/bin/xkeyboard-toggle
+ fi
+ sleep 1
+done