aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/WallpaperSelect.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2024-11-25 06:13:31 +0900
committerJaKooLit <ejhay.games@gmail.com>2024-11-25 06:14:01 +0900
commit09297b0a5d2341a5e32007609f6dc4813eeed567 (patch)
tree7b34b74e4e7d043b6d13aa685906bbc2692b10d0 /config/hypr/UserScripts/WallpaperSelect.sh
parentc3900285bcb30a5af49c638eb3c16bd43e2c2527 (diff)
adjusted some settings and script for hyprland-git and swww-git
Diffstat (limited to 'config/hypr/UserScripts/WallpaperSelect.sh')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperSelect.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh
index 25ef30e9..23640995 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=2
+DURATION=1.5
BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
@@ -69,9 +69,9 @@ main() {
# Random choice case
if [[ "$choice" == "$RANDOM_PIC_NAME" ]]; then
swww img -o "$focused_monitor" "$RANDOM_PIC" $SWWW_PARAMS;
- sleep 0.5
+ sleep 1.5
"$SCRIPTSDIR/WallustSwww.sh"
- sleep 0.2
+ sleep 0.5
"$SCRIPTSDIR/Refresh.sh"
exit 0
fi
@@ -102,9 +102,9 @@ fi
main
-sleep 0.5
+sleep 1.5
"$SCRIPTSDIR/WallustSwww.sh"
-sleep 0.2
+sleep 0.5
"$SCRIPTSDIR/Refresh.sh"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage