aboutsummaryrefslogblamecommitdiff
path: root/.config/hypr/scripts/wallpaper.sh
blob: 2c87158ed0a8472a498930c9c04550cd17f78a7a (plain) (tree)
1
2
3
4
5
6
7
8

         


                                    


                     



                                             
#!/bin/sh

# Read file path into variable
read -r wallpaper<~/.cache/wallpaper

if pgrep swaybg; then
	pkill swaybg
fi
swaybg -m fill -i "$wallpaper"
# hyprctl hyprpaper preload "$wallpaper"
# hyprctl hyprpaper wallpaper " , $wallpaper"
# hyprctl hyprpaper unload unused