add startsway wrapper command

This commit is contained in:
vib 2023-02-27 11:56:50 +02:00
parent 08374c74ba
commit d8f7b4c07a
4 changed files with 11 additions and 16 deletions

View file

@ -13,4 +13,6 @@ export QT_QPA_PLATFORMTHEME=qt5ct
#export DESKTOP_SESSION=KDE
# If running from tty1 start sway
[ "$(tty)" = "/dev/tty1" ] && exec ~/.config/sway/start.sh
if [ "$(tty)" = "/dev/tty1" ]; then
startsway
fi