summaryrefslogtreecommitdiffstats
path: root/.local/bin/adelita/startup
blob: a7d1b795f4975d5e83849f7393ee4a4a4c4bf1e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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