Files
Z-Dot/.config/hypr/scripts/old/ml4w/init-wallpaper-engine.sh
T
2026-01-19 19:14:04 +01:00

21 lines
520 B
Bash
Executable File

#!/bin/bash
wallpaper_engine=$(cat $HOME/.config/ml4w/settings/wallpaper-engine.sh)
if [ "$wallpaper_engine" == "swww" ] ;then
# swww
echo ":: Using swww"
swww init
swww-daemon --format xrgb
sleep 0.5
~/.config/hypr/scripts/wallpaper.sh init
elif [ "$wallpaper_engine" == "hyprpaper" ] ;then
# hyprpaper
echo ":: Using hyprpaper"
sleep 0.5
~/.config/hypr/scripts/wallpaper.sh init
else
echo ":: Wallpaper Engine disabled"
~/.config/hypr/scripts/wallpaper.sh init
fi