# Set up X.org -*- sh -*- xrdb ~/.xresources xmodmap ~/.xmodmap #xsetroot -cursor_name left_ptr xhost +SI:localhost:$USER # https://wiki.archlinux.org/title/Libinput and libinput(4) touchpad_set(){ # get 9 from xinput list, then run xinput list-props 9 (sleep 2 && xinput set-prop 9 "$@") & } touchpad_set "libinput Natural Scrolling Enabled" 1 touchpad_set "libinput Horizontal Scroll Enabled" 1 touchpad_set "libinput Tapping Enabled" 1 touchpad_set "libinput Tapping Drag Enabled" 1 touchpad_set "libinput Tapping Drag Lock Enabled" 1 # Environment variables export GTK_OVERLAY_SCROLLING=0 # Autostart eval $(dbus-launch --sh-syntax --exit-with-x11) /usr/libexec/pipewire-launcher & brightnessctl set 40% if test -x ~/.fehbg then ~/.fehbg else xsetroot -grey fi # WM exec dbus-run-session i3