This commit is contained in:
Stephan Raabe
2024-03-28 15:50:38 +01:00
parent 17690a3cc7
commit 594543bc7d
3 changed files with 14 additions and 6 deletions

View File

@@ -102,10 +102,9 @@ elif [ "$wallpaper_engine" == "hyprpaper" ] ;then
# hyprpaper
echo ":: Using hyprpaper"
killall hyprpaper
echo -n "" > $HOME/dotfiles/hypr/hyprpaper.conf
echo "preload = $wallpaper" >> $HOME/dotfiles/hypr/hyprpaper.conf
echo "wallpaper = ,$wallpaper" >> $HOME/dotfiles/hypr/hyprpaper.conf
echo "splash = false" >> $HOME/dotfiles/hypr/hyprpaper.conf
wal_tpl=$(cat $HOME/dotfiles/.settings/hyprpaper.tpl)
output=${wal_tpl//WALLPAPER/$wallpaper}
echo "$output" > $HOME/dotfiles/hypr/hyprpaper.conf
hyprpaper &
else
echo ":: Wallpaper Engine disabled"