2024-03-28 07:23:11 -04:00
|
|
|
#!/bin/bash
|
2024-05-23 09:47:31 -04:00
|
|
|
# __ ______ _____ _
|
|
|
|
# \ \ / / _ \ | ____|_ __ __ _(_)_ __ ___
|
|
|
|
# \ \ /\ / /| |_) | | _| | '_ \ / _` | | '_ \ / _ \
|
|
|
|
# \ V V / | __/ | |___| | | | (_| | | | | | __/
|
|
|
|
# \_/\_/ |_| |_____|_| |_|\__, |_|_| |_|\___|
|
|
|
|
# |___/
|
|
|
|
#
|
|
|
|
|
2024-03-28 07:23:11 -04:00
|
|
|
wallpaper_engine=$(cat $HOME/dotfiles/.settings/wallpaper-engine.sh)
|
|
|
|
if [ "$wallpaper_engine" == "swww" ] ;then
|
|
|
|
# swww
|
|
|
|
echo ":: Using swww"
|
|
|
|
swww init
|
|
|
|
swww-daemon --format xrgb
|
|
|
|
sleep 0.5
|
|
|
|
~/dotfiles/hypr/scripts/wallpaper.sh init
|
|
|
|
elif [ "$wallpaper_engine" == "hyprpaper" ] ;then
|
|
|
|
# hyprpaper
|
|
|
|
echo ":: Using hyprpaper"
|
|
|
|
sleep 0.5
|
|
|
|
~/dotfiles/hypr/scripts/wallpaper.sh init
|
|
|
|
else
|
|
|
|
echo ":: Wallpaper Engine disabled"
|
|
|
|
~/dotfiles/hypr/scripts/wallpaper.sh init
|
|
|
|
fi
|
|
|
|
|