summaryrefslogtreecommitdiffstats
path: root/.local/bin/langa/startup
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.local/bin/langa/startup12
1 files changed, 12 insertions, 0 deletions
diff --git a/.local/bin/langa/startup b/.local/bin/langa/startup
new file mode 100644
index 0000000..376bd64
--- /dev/null
+++ b/.local/bin/langa/startup
@@ -0,0 +1,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