Add ML4W Welcome Autostart
This commit is contained in:
parent
6ece6ee90b
commit
923f5f56c2
Binary file not shown.
|
@ -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
|
||||||
|
|
14
hypr/scripts/ml4w-welcome-autostart.sh
Executable file
14
hypr/scripts/ml4w-welcome-autostart.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user