From 596b5338150f849f9ed12a44965c1bf2d92066af Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 10 Jul 2024 19:32:09 -0500 Subject: Update xinitrc --- xinitrc | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'xinitrc') diff --git a/xinitrc b/xinitrc index 186c45f..f976e9a 100644 --- a/xinitrc +++ b/xinitrc @@ -1,7 +1,8 @@ -# Set up X.org -*- sh -*- +# Set up X.org xrdb ~/.xresources xmodmap ~/.xmodmap -#xsetroot -cursor_name left_ptr +xsetroot -cursor_name left_ptr +xsetroot -grey xhost +SI:localhost:$USER # https://wiki.archlinux.org/title/Libinput and libinput(4) @@ -18,14 +19,20 @@ touchpad_set "libinput Tapping Drag Lock Enabled" 1 # Environment variables export GTK_OVERLAY_SCROLLING=0 +if test -z "$DBUS_SESSION_BUS_ADDRESS" +then eval "$(dbus-launch --sh-syntax --exit-with-x11)" +fi + # 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 +test -x ~/.fehbg && ~/.fehbg + +keepassxc & + +# exec herbstluftwm --locked --autostart $HOME/.herbstluftwmrc +# exec i3 + +# exwm -# WM -exec dbus-run-session i3 +IN_EXWM=1 exec emacs -- cgit 1.4.1-21-gabe81