summaryrefslogtreecommitdiffstats
path: root/.local/bin/langa/startup
blob: 376bd64fac2a987a1a6755256303a8f1de7b3653 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- mode: sh; sh-shell: sh -*-

if [ $DISPLAY ]; then
    if [ -x "$(command -v xinput)" ]; then
        xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Speed' -0.4
    fi
    setxkbmap \
        -layout us,ir \
        -option ctrl:nocaps \
        -option grp:shifts_toggle
    xmodmap -e "keysym Menu = Super_R"
fi