.xinitrc 1.0 KB

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