From 5da490e996cad5695c90d290d2788f6642d5fba3 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 14 Sep 2023 22:48:48 -0400 Subject: Add .local/bin/adelita/startup --- .local/bin/adelita/startup | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .local/bin/adelita/startup (limited to '.local/bin') 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 -- cgit v1.2.3-60-g2f50