🔧 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
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# force XDG_SESSION_TYPE to be x11
export XDG_SESSION_TYPE=x11
# Start compositor
# picom blah blah ...
@ -71,5 +74,5 @@ espanso start --unmanaged &
# exec i3
# 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