flocon/scripts/.scripts/hyprpaper-generate-config.sh
2023-06-01 11:26:29 +02:00

7 lines
160 B
Bash
Executable file

#!/bin/sh
wallpaper=$(ls "$HOME/".wallpapers/** | shuf -n 1)
cat << EOF > ~/.config/hypr/hyprpaper.conf
preload = $wallpaper
wallpaper = eDP-1, $wallpaper
EOF