env variable to set x windowm manager
This commit is contained in:
t470p
2024-05-11 20:19:28 -05:00
parent 05c37bf0e9
commit dbe8984c47
2 changed files with 9 additions and 2 deletions

View File

@@ -32,5 +32,10 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
exec i3
#exec qtile start
if [ ${XWM} == "i3" ] ; then
exec i3
elif [ ${XWM} == "qtile" ] ; then
exec qtile start
else
echo "error: unknown environment variable XWM: '${XWM}'"
fi