flocon/dot_scripts/executable_hyprpaper-generate-config.sh

8 lines
160 B
Bash
Raw Normal View History

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