From 22bc1e1879da0d99e5e1d79b10742b8cc9fd0521 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 30 May 2024 12:47:11 -0500 Subject: Initial commit --- xinitrc | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 xinitrc (limited to 'xinitrc') diff --git a/xinitrc b/xinitrc new file mode 100644 index 0000000..508257c --- /dev/null +++ b/xinitrc @@ -0,0 +1,33 @@ +# Set up X.org +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 + +keepassxc & + +# WM +exec dbus-run-session i3 -- cgit 1.4.1-21-gabe81