flocon/scripts/.scripts/hyprpaper-generate-config.sh

8 lines
160 B
Bash
Raw Normal View History

2023-06-01 09:26:29 +00:00
#!/bin/sh
wallpaper=$(ls "$HOME/".wallpapers/** | shuf -n 1)
cat << EOF > ~/.config/hypr/hyprpaper.conf
preload = $wallpaper
wallpaper = eDP-1, $wallpaper
EOF