🔧 Updated XDG_SESSION_TYPE
This commit is contained in:
parent
eca4b6111d
commit
fedb6a28ef
1 changed files with 9 additions and 6 deletions
15
xinitrc.txt
15
xinitrc.txt
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue