summaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-10-12 10:59:22 -0400
committerAmin Bandali <bandali@gnu.org>2020-10-12 11:03:44 -0400
commit1f5c92ffb2a1c3cb52b01195e664876be7b69047 (patch)
treecb8a97384a4c5889ea9086f09850567e0da92420 /.xinitrc
parent5fc03b0db7cb90e19ae72ff34b2651555d8f1ad7 (diff)
downloadconfigs-1f5c92ffb2a1c3cb52b01195e664876be7b69047.tar.gz
configs-1f5c92ffb2a1c3cb52b01195e664876be7b69047.tar.xz
configs-1f5c92ffb2a1c3cb52b01195e664876be7b69047.zip
Switch to EXWM
(langa runs Parabola GNU/Linux-libre)
Diffstat (limited to '')
-rw-r--r--.xinitrc17
1 files changed, 17 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
index c2feb42..b0e828e 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -1 +1,18 @@
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
+
+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"
+
+xsetroot -cursor_name left_ptr
+xset r rate 200 45
+xset b off
+
+exec emacs -ib 0