fix "M-r" binding for eshell history completion
[~bandali/configs] / .xinitrc
... / ...
CommitLineData
1[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
2
3export VISUAL=emacsclient
4export EDITOR="$VISUAL"
5
6if [ -x "$(command -v xinput)" ]; then
7 xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Speed' -0.4
8 xinput set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Natural Scrolling Enabled' 1
9 xinput set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Click Method Enabled' 0 1
10fi
11
12# setxkbmap \
13# -layout us,ir \
14# -option ctrl:nocaps \
15# -option grp:shifts_toggle
16
17setxkbmap \
18 -layout us,ir \
19 -option ctrl:swap_rwin_rctl \
20 -option grp:shifts_toggle
21
22xmodmap -e "keysym Menu = Super_R"
23
24xsetroot -cursor_name left_ptr
25xset r rate 200 45
26xset b off
27
28[ -x "$(command -v pasystray)" ] && pasystray -a &
29[ -x "$(command -v nm-applet)" ] && nm-applet &
30[ -x "$(command -v picom)" ] && picom &
31[ -x "$(command -v dunst)" ] && dunst &
32exec dbus-launch --exit-with-session -- emacs -ib 0