Open aloispichler opened 3 months ago
edit the config with something like sed and then launch?
Just adding a working example snippet from my config.
$SCRIPTS_DIR/pick_wallpaper.sh:
# Pick random wallpaper
random_pick=$(find "$wp_dir" -type f -name "*.png" -o -name "*.jpg" | shuf -n1)
# Replace the placeholder in template and save to .conf file
sed -e "s~<wp>~${random_pick}~g" $conf_dir/templates/hyprpaper.template > $conf_dir/hyprpaper.conf
$conf_dir/templates/hyprpaper.template:
$wp = <wp>
preload = $wp
wallpaper = , $wp
then just exec-once it
exec-once = $SCRIPTS_DIR/pick_wallpaper.sh && hyprpaper
To randomly pick (shuffle) a wallpaper out of a set of wallpapers, I had
How can this be accomplished with
hyprpaper
? I want to avoid preloading all.