From d304b57617cb3ae7ddfa294ef2308aa83ab39a66 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Thu, 17 Aug 2023 17:44:09 +0200 Subject: [PATCH] Updates --- scripts/updatewal-swww.sh | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/scripts/updatewal-swww.sh b/scripts/updatewal-swww.sh index 2fbb12f..610c20f 100755 --- a/scripts/updatewal-swww.sh +++ b/scripts/updatewal-swww.sh @@ -1,9 +1,31 @@ #!/bin/bash +# _____ _ ______ ____ ____ __ +# |_ _| |__ ___ _ __ ___ ___ / ___\ \ / /\ \ / /\ \ / / +# | | | '_ \ / _ \ '_ ` _ \ / _ \ \___ \\ \ /\ / / \ \ /\ / / \ \ /\ / / +# | | | | | | __/ | | | | | __/ ___) |\ V V / \ V V / \ V V / +# |_| |_| |_|\___|_| |_| |_|\___| |____/ \_/\_/ \_/\_/ \_/\_/ +# +# +# by Stephan Raabe (2023) +# ----------------------------------------------------- +# ----------------------------------------------------- +# Select random wallpaper and create color scheme +# ----------------------------------------------------- wal -q -i ~/wallpaper/ + +# ----------------------------------------------------- +# Load current pywal color scheme +# ----------------------------------------------------- source "$HOME/.cache/wal/colors.sh" + +# ----------------------------------------------------- +# get wallpaper iamge name +# ----------------------------------------------------- newwall=$(echo $wallpaper | sed "s|$HOME/wallpaper/||g") + +# ----------------------------------------------------- +# Set the new wallpaper +# ----------------------------------------------------- swww img $wallpaper --transition-step 20 --transition-fps=20 - -