Commit | Line | Data |
---|---|---|
ca3a844a | 1 | [ -f ~/.Xresources ] && xrdb -merge ~/.Xresources |
1f5c92ff | 2 | |
9867e4bb AB |
3 | export VISUAL=emacsclient |
4 | export EDITOR="$VISUAL" | |
5 | ||
1f5c92ff | 6 | if [ -x "$(command -v xinput)" ]; then |
9867e4bb AB |
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 | |
1f5c92ff AB |
10 | fi |
11 | ||
9867e4bb AB |
12 | # setxkbmap \ |
13 | # -layout us,ir \ | |
14 | # -option ctrl:nocaps \ | |
15 | # -option grp:shifts_toggle | |
16 | ||
1f5c92ff AB |
17 | setxkbmap \ |
18 | -layout us,ir \ | |
9867e4bb | 19 | -option ctrl:swap_rwin_rctl \ |
1f5c92ff AB |
20 | -option grp:shifts_toggle |
21 | ||
22 | xmodmap -e "keysym Menu = Super_R" | |
23 | ||
24 | xsetroot -cursor_name left_ptr | |
25 | xset r rate 200 45 | |
26 | xset b off | |
27 | ||
aea662c5 AB |
28 | [ -x "$(command -v pasystray)" ] && pasystray -a & |
29 | [ -x "$(command -v nm-applet)" ] && nm-applet & | |
5df34463 AB |
30 | [ -x "$(command -v picom)" ] && picom & |
31 | [ -x "$(command -v dunst)" ] && dunst & | |
9867e4bb | 32 | exec dbus-launch --exit-with-session -- emacs -ib 0 |