-
Notifications
You must be signed in to change notification settings - Fork 2
/
.xinitrc
36 lines (27 loc) · 1.03 KB
/
.xinitrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# load .Xresources
#[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
xrdb -load ~/config_files/.Xresources
# remap mouse scroll direction on keypad, using xorg-xinput
# these settings for XPS13; use first 2 commands to get id & keys
# xinput-> list devices with ids
# xinput get-button-map {touchpad-id}
xinput set-button-map 10 1 2 3 5 4 6 7 8 9 10 11 12
# this reduces the defaut sensitivty of the trackpad
xinput set-prop "DLL0704:01 06CB:76AE Touchpad" "Synaptics Finger" 25 30 30
# these fonts were mainly for wayland, I think
FontPath /usr/share/fonts/100dpi
# set background colour to match color scheme
hsetroot -solid $bg_color
# swap caps and escape
# using xkbmap may be redundant...
setxkbmap -option "caps:escape"
# remap caps to escape <3 vim
xmodmap .Xmodmap
# set bg as last image set with feh
source '/home/km/.fehbg'
#
# running WM after remapping keys seems to work better
# launch a console kit session and dbus
#exec ck-launch-session dbus-launch --sh-syntax --exit-with-session i3
exec i3
#exec startxfce4