From fb7bf06c0a41364ffffb2c7b208fe9d912b4ee96 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Thu, 16 Jan 2025 14:59:37 +0100 Subject: [PATCH] doc(random_wallpaper): Explain that we use swaybg for Wayland --- bin/random_wallpaper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/random_wallpaper b/bin/random_wallpaper index 2220311..c4bb174 100755 --- a/bin/random_wallpaper +++ b/bin/random_wallpaper @@ -2,7 +2,8 @@ # random_wallpaper # -# Requirement: feh (apt install feh) +# Requirement: feh (apt install feh) - for Xorg +# Requirement: swaybg - for Wayland directory="$HOME/wallpapers" minutes=15 @@ -50,6 +51,7 @@ while true; do # Change background file="${array_files["$NUMBER"]}" if "${is_wayland}"; then + # Use of swaybg program (used with swaymsg) $PROGRAM output "*" bg "$directory/$file" fill else feh --bg-fill "$directory/$file"