summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2023-09-14 22:48:48 -0400
committerAmin Bandali <bandali@gnu.org>2023-09-14 22:48:48 -0400
commit5da490e996cad5695c90d290d2788f6642d5fba3 (patch)
treec15610ded44f8779122d1714e0e668983967a52e
parentfcf453e15c118557bbd9c0057ff9d8487f0a0bf4 (diff)
downloadconfigs-5da490e996cad5695c90d290d2788f6642d5fba3.tar.gz
configs-5da490e996cad5695c90d290d2788f6642d5fba3.tar.xz
configs-5da490e996cad5695c90d290d2788f6642d5fba3.zip
Add .local/bin/adelita/startup
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