diff --git a/i38.sh b/i38.sh index 4f1c3f6..950b315 100755 --- a/i38.sh +++ b/i38.sh @@ -651,8 +651,12 @@ fi cat << EOF >> ${i3Path}/config # Auto start section -$(if [[ $sounds -eq 0 ]]; then - echo "exec_always --no-startup-id ${i3Path}/scripts/sound.py" +$(if [[ $sounzzds -eq 0 ]]; then + if [[ $usingSway -eq 0 ]]; then + echo "exec --no-startup-id ${i3Path}/scripts/sound.py" + else + echo "exec_always --no-startup-id ${i3Path}/scripts/sound.py" + fi fi if [[ $loginSound -eq 0 ]]; then echo 'exec --no-startup-id canberra-gtk-play -i desktop-login'