add startsway wrapper command

This commit is contained in:
Cheri 2023-02-27 11:56:50 +02:00 committed by vib
parent 20adb85fd7
commit b0cb6e985b
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