Add ML4W Welcome Autostart

This commit is contained in:
Stephan Raabe 2024-01-24 09:15:20 +01:00
parent 6ece6ee90b
commit 923f5f56c2
3 changed files with 17 additions and 0 deletions

Binary file not shown.

View File

@ -30,3 +30,6 @@ exec-once = swww query || swww init
# Load last wallpaper and waybar with pywal colors # Load last wallpaper and waybar with pywal colors
exec-once = ~/dotfiles/hypr/scripts/wallpaper.sh init exec-once = ~/dotfiles/hypr/scripts/wallpaper.sh init
# Start ML4W Welcome App
exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh

View File

@ -0,0 +1,14 @@
#!/bin/bash
if [ ! -f $HOME/.cache/ml4w-welcome-autostart ] ;then
echo "Autostart of ML4W Welcome App enabled."
if [ -f $HOME/dotfiles/apps/ML4W_Welcome-x86_64.AppImage ] ;then
echo "Starting ML4W Welcome App ..."
sleep 2
$HOME/dotfiles/apps/ML4W_Welcome-x86_64.AppImage
else
echo "ML4W Welcome App not found."
fi
else
echo "Autostart of ML4W Welcome App disabled."
fi