gnus: conditional mail setup based on hostname
[~bandali/configs] / .xinitrc
CommitLineData
ca3a844a 1[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
1f5c92ff 2
9867e4bb
AB
3export VISUAL=emacsclient
4export EDITOR="$VISUAL"
5
1f5c92ff 6if [ -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
10fi
11
9867e4bb
AB
12# setxkbmap \
13# -layout us,ir \
14# -option ctrl:nocaps \
15# -option grp:shifts_toggle
16
1f5c92ff
AB
17setxkbmap \
18 -layout us,ir \
9867e4bb 19 -option ctrl:swap_rwin_rctl \
1f5c92ff
AB
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
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 32exec dbus-launch --exit-with-session -- emacs -ib 0