aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2024-12-26 23:13:14 +0900
committerJaKooLit <ejhay.games@gmail.com>2024-12-26 23:13:14 +0900
commit08c8db898ff52483d3e84bc6738e3c7ee857344d (patch)
tree7d18d86232e193c6fe8db195b9726b86b68aa799
parenteb5c63ca2d861d30b3c6e2ed24f3106d11622573 (diff)
all wallpaper stuff scripts have been "tweaked"
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh4
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperRandom.sh5
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperSelect.sh4
3 files changed, 7 insertions, 6 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index 4edb6b8d..5b1f38e7 100755
--- a/config/hypr/UserScripts/WallpaperEffects.sh
+++ b/config/hypr/UserScripts/WallpaperEffects.sh
@@ -15,7 +15,7 @@ iDIR="$HOME/.config/swaync/images"
# swww transition config
FPS=60
TYPE="wipe"
-DURATION=1.5
+DURATION=2
BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
@@ -78,7 +78,7 @@ main() {
# Execute swww command after image conversion
swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS &
# Wait for swww command to complete
- sleep 1.5
+ sleep 2
# Wait for other commands to finish
wallust run "$wallpaper_output" -s &
# Wait for other commands to finish
diff --git a/config/hypr/UserScripts/WallpaperRandom.sh b/config/hypr/UserScripts/WallpaperRandom.sh
index c3926906..6e8f5ff6 100755
--- a/config/hypr/UserScripts/WallpaperRandom.sh
+++ b/config/hypr/UserScripts/WallpaperRandom.sh
@@ -12,7 +12,7 @@ RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]}
# Transition config
-FPS=60
+FPS=30
TYPE="random"
DURATION=1
BEZIER=".43,1.19,1,.4"
@@ -21,8 +21,9 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration
swww query || swww-daemon --format xrgb && swww img -o $focused_monitor ${RANDOMPICS} $SWWW_PARAMS
-sleep 1
+sleep 1.5
${scriptsDir}/WallustSwww.sh
+
sleep 0.5
${scriptsDir}/Refresh.sh
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh
index 23640995..d74933a3 100755
--- a/config/hypr/UserScripts/WallpaperSelect.sh
+++ b/config/hypr/UserScripts/WallpaperSelect.sh
@@ -11,7 +11,7 @@ focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{pri
# swww transition config
FPS=60
TYPE="any"
-DURATION=1.5
+DURATION=2
BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
@@ -69,7 +69,7 @@ main() {
# Random choice case
if [[ "$choice" == "$RANDOM_PIC_NAME" ]]; then
swww img -o "$focused_monitor" "$RANDOM_PIC" $SWWW_PARAMS;
- sleep 1.5
+ sleep 2
"$SCRIPTSDIR/WallustSwww.sh"
sleep 0.5
"$SCRIPTSDIR/Refresh.sh"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage