fix: autostart simplified

This commit is contained in:
2024-10-30 23:56:48 +01:00
parent f63766d9b0
commit 4125562f7a
8 changed files with 24 additions and 126 deletions

19
bin/actions/auto-start.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
apps=(
spotify
whatsapp-for-linux
telegram-desktop
vesktop
trayscale
1password
)
echo "Starting auto-start applications..."
for app in "${apps[@]}"; do
if [ -x "$(command -v $app)" ]; then
echo "Starting $app..."
screen -dmS $app $app
sleep 1
fi
done