xsession: set XDG_SESSION_DESKTOP and XDG_CURRENT_DESKTOP

This commit is contained in:
Vincent Bernat 2022-10-25 09:32:58 +02:00
parent 0b6ed2b92d
commit 4301dd09f8

View file

@ -4,6 +4,10 @@
# Don't read anything from stdin. # Don't read anything from stdin.
exec < /dev/null exec < /dev/null
# Set some XDG_* variables
export XDG_SESSION_DESKTOP=i3
export XDG_CURRENT_DESKTOP=i3
# Ensure we use the appropriate gtkrc-2.0 file # Ensure we use the appropriate gtkrc-2.0 file
export GTK2_RC_FILES=$HOME/.gtkrc-2.0 export GTK2_RC_FILES=$HOME/.gtkrc-2.0