aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-12-11 19:18:24 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-12-11 19:18:24 +0900
commitf3333928f358275a36e2eb340284a7d0c2af7df2 (patch)
tree288dd79691e91135b0b507ec4f5afc229074e75c
parent6cff57c76d9627dd28b7128279a24248b2ca0ef8 (diff)
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
-rw-r--r--config/hypr/configs/Execs.conf2
-rwxr-xr-xconfig/hypr/scripts/Wallpaper.sh9
-rwxr-xr-xconfig/hypr/scripts/WallpaperRandom.sh5
-rwxr-xr-xconfig/hypr/scripts/WallpaperSelect.sh9
4 files changed, 13 insertions, 12 deletions
diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf
index 545b26fa..2005eae4 100644
--- a/config/hypr/configs/Execs.conf
+++ b/config/hypr/configs/Execs.conf
@@ -9,7 +9,7 @@ exec-once = $HOME/.config/hypr/initial-boot.sh
# wallpaper stuff
exec-once = swww query || swww init
-exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 15 minutes
+exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 30 minutes
#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper
# Startup
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
diff --git a/config/hypr/scripts/WallpaperRandom.sh b/config/hypr/scripts/WallpaperRandom.sh
index 67a12adb..b5205723 100755
--- a/config/hypr/scripts/WallpaperRandom.sh
+++ b/config/hypr/scripts/WallpaperRandom.sh
@@ -16,11 +16,10 @@ fi
# Edit below to control the images transition
export SWWW_TRANSITION_FPS=60
-export SWWW_TRANSITION_STEP=2
-export SWWW_TRANSITION_TYPE=random
+export SWWW_TRANSITION_TYPE=simple
# This controls (in seconds) when to switch to the next image
-INTERVAL=900
+INTERVAL=1800
while true; do
find "$1" \
diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh
index a3fa1ba0..16790bdd 100755
--- a/config/hypr/scripts/WallpaperSelect.sh
+++ b/config/hypr/scripts/WallpaperSelect.sh
@@ -6,10 +6,11 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts"
DIR="$HOME/Pictures/wallpapers"
# Transition config
-FPS=30
-TYPE="simple"
-DURATION=3
-SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
+FPS=60
+TYPE="any"
+DURATION=1
+BEZIER="0,.53,1,.48"
+SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION --transition-bezier $BEZIER"
# Check if swaybg is running
if pidof swaybg > /dev/null; then
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage