summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.local/bin/adelita/startup13
1 files changed, 13 insertions, 0 deletions
diff --git a/.local/bin/adelita/startup b/.local/bin/adelita/startup
new file mode 100644
index 0000000..a7d1b79
--- /dev/null
+++ b/.local/bin/adelita/startup
@@ -0,0 +1,13 @@
+# -*- mode: sh; sh-shell: sh -*-
+
+# we need to wait a little bit, otherwise the key changes below
+# don't take effect
+sleep 1
+
+if [ $DISPLAY ]; then
+ setxkbmap \
+ -layout us,ir \
+ -option ctrl:nocaps \
+ -option grp:shifts_toggle
+ xmodmap -e "keysym Menu = Super_R"
+fi