Updates
This commit is contained in:
parent
17690a3cc7
commit
594543bc7d
8
.settings/hyprpaper.tpl
Normal file
8
.settings/hyprpaper.tpl
Normal file
@ -0,0 +1,8 @@
|
||||
# Preload Wallpapers
|
||||
preload = WALLPAPER
|
||||
|
||||
# Set Wallpapers
|
||||
wallpaper = ,WALLPAPER
|
||||
|
||||
# Disable Splash
|
||||
splash = false
|
@ -1,2 +1,3 @@
|
||||
preload = ~/wallpaper/hyprland.jpg
|
||||
wallpaper = ,~/wallpaper/hyprland.jpg
|
||||
preload = $HOME/wallpaper/hyprland.jpg
|
||||
wallpaper = ,$HOME/wallpaper/hyprland.jpg
|
||||
splash = false
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user