aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/UserScripts')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh6
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperRandom.sh4
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperSelect.sh10
3 files changed, 10 insertions, 10 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index cc6a5781..4edb6b8d 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=2
+DURATION=1.5
BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
@@ -78,11 +78,11 @@ main() {
# Execute swww command after image conversion
swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS &
# Wait for swww command to complete
- wait $!
+ sleep 1.5
# Wait for other commands to finish
wallust run "$wallpaper_output" -s &
# Wait for other commands to finish
- wait $!
+ sleep 0.5
# Refresh rofi, waybar, wallust palettes
"${SCRIPTSDIR}/Refresh.sh"
notify-send -u low -i "$iDIR/bell.png" "$choice effects applied"
diff --git a/config/hypr/UserScripts/WallpaperRandom.sh b/config/hypr/UserScripts/WallpaperRandom.sh
index 050c10c3..c3926906 100755
--- a/config/hypr/UserScripts/WallpaperRandom.sh
+++ b/config/hypr/UserScripts/WallpaperRandom.sh
@@ -21,8 +21,8 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration
swww query || swww-daemon --format xrgb && swww img -o $focused_monitor ${RANDOMPICS} $SWWW_PARAMS
-
-${scriptsDir}/WallustSwww.sh
sleep 1
+${scriptsDir}/WallustSwww.sh
+sleep 0.5
${scriptsDir}/Refresh.sh
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