aboutsummaryrefslogtreecommitdiff
path: root/bin/idea_config
diff options
context:
space:
mode:
Diffstat (limited to 'bin/idea_config')
-rwxr-xr-xbin/idea_config10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/idea_config b/bin/idea_config
new file mode 100755
index 0000000..6522231
--- /dev/null
+++ b/bin/idea_config
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+kbd="/dev/input/by-path/platform-i8042-serio-0-event-kbd"
+file="$HOME/.config/kmonad/ideapad.kbd"
+
+if [ -L "$kbd" ]; then
+ kmonad "$file"
+else
+ echo 'keyboard not connected'
+fi