🔧 Updated XDG_SESSION_TYPE

This commit is contained in:
z3rOR0ne 2025-05-09 22:04:19 -07:00
parent eca4b6111d
commit fedb6a28ef

View file

@ -25,13 +25,16 @@ if [ -f "$usermodmap" ]; then
fi fi
# start some nice programs # start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
[ -x "$f" ] && . "$f" [ -x "$f" ] && . "$f"
done done
unset f unset f
fi fi
# force XDG_SESSION_TYPE to be x11
export XDG_SESSION_TYPE=x11
# Start compositor # Start compositor
# picom blah blah ... # picom blah blah ...
@ -71,5 +74,5 @@ espanso start --unmanaged &
# exec i3 # exec i3
# Start bspwm # Start bspwm
pgrep -x sxhkd > /dev/null || sxhkd -c /home/brian/.config/sxhkd/sxhkdrc & pgrep -x sxhkd >/dev/null || sxhkd -c /home/brian/.config/sxhkd/sxhkdrc &
exec bspwm -c /home/brian/.config/bspwm/bspwmrc exec bspwm -c /home/brian/.config/bspwm/bspwmrc