From f3333928f358275a36e2eb340284a7d0c2af7df2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 11 Dec 2023 19:18:24 +0900 Subject: Wallpaper effects changes: 1.) Wallpaper Select - switched to any effects 2.) Random wallpaper (CTRL ALT 2) - switched to random effects 3.) Automatic wallpaper - Increased to 30 mins, switched to simple effects --- config/hypr/scripts/Wallpaper.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config/hypr/scripts/Wallpaper.sh') diff --git a/config/hypr/scripts/Wallpaper.sh b/config/hypr/scripts/Wallpaper.sh index c494dca1..cd7dd83b 100755 --- a/config/hypr/scripts/Wallpaper.sh +++ b/config/hypr/scripts/Wallpaper.sh @@ -1,7 +1,7 @@ #!/bin/bash DIR="$HOME/Pictures/wallpapers/" -SCRIPTSDIR="$HOME/.config/hypr/scripts" +SCRIPTSDIR="$HOME/00-Shared-Drives/Common-nvme/common-wallpapers" PICS=($(find ${DIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \))) RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} @@ -9,9 +9,10 @@ RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} # Transition config FPS=30 -TYPE="any" -DURATION=3 -SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION" +TYPE="random" +DURATION=1 +BEZIER=".43,1.19,1,.4" +SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION --transition-bezier $BEZIER" swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS -- cgit v1.2.3