about summary refs log tree commit diff stats
path: root/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'xinitrc')
-rw-r--r--xinitrc33
1 files changed, 33 insertions, 0 deletions
diff --git a/xinitrc b/xinitrc new file mode 100644 index 0000000..508257c --- /dev/null +++ b/xinitrc
@@ -0,0 +1,33 @@
1# Set up X.org
2xrdb ~/.xresources
3xmodmap ~/.xmodmap
4#xsetroot -cursor_name left_ptr
5xhost +SI:localhost:$USER
6
7# https://wiki.archlinux.org/title/Libinput and libinput(4)
8touchpad_set(){
9 # get 9 from xinput list, then run xinput list-props 9
10 (sleep 2 && xinput set-prop 9 "$@") &
11}
12touchpad_set "libinput Natural Scrolling Enabled" 1
13touchpad_set "libinput Horizontal Scroll Enabled" 1
14touchpad_set "libinput Tapping Enabled" 1
15touchpad_set "libinput Tapping Drag Enabled" 1
16touchpad_set "libinput Tapping Drag Lock Enabled" 1
17
18# Environment variables
19export GTK_OVERLAY_SCROLLING=0
20
21# Autostart
22eval $(dbus-launch --sh-syntax --exit-with-x11)
23/usr/libexec/pipewire-launcher &
24brightnessctl set 40%
25if test -x ~/.fehbg
26then ~/.fehbg
27else xsetroot -grey
28fi
29
30keepassxc &
31
32# WM
33exec dbus-run-session i3