diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-11-30 17:08:25 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 17:08:25 +0900 |
| commit | 592ce2027056eded49968619c21b2c54f1b1f0f9 (patch) | |
| tree | 4703c60fd0776eadec65f5ed38f27f69824ef9ed /config/hypr | |
| parent | 50bb988ed64c9962f350d07ef1914e1111b3d97a (diff) | |
| parent | f9f437f20a69f3fc8031f0b0ae9deaf6fc91e59f (diff) | |
Merge pull request #45 from JaKooLit/v2.1.12
V2.1.12 preliminary v2.1.12 changes
Diffstat (limited to 'config/hypr')
| -rw-r--r-- | config/hypr/configs/Keybinds.conf | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/Wallpaper.sh | 11 | ||||
| -rwxr-xr-x | config/hypr/scripts/WallpaperRandom.sh | 2 | ||||
| -rw-r--r-- | config/hypr/v2.1.12 (renamed from config/hypr/v2.1.11) | 0 |
4 files changed, 11 insertions, 4 deletions
diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 26a32f55..baec5115 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -38,7 +38,7 @@ bind = $mainMod, E, exec, $scriptsDir/QuickEdit.sh bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh bind = CTRL SHIFT, W, exec, $scriptsDir/Refresh.sh -bind = CTRL ALT, W, exec, $scriptsDir/Wallpaper.sh swww +bind = CTRL ALT, W, exec, $scriptsDir/Wallpaper.sh bind = CTRL, W, exec, $scriptsDir/WaybarStyles.sh bind = $mainMod, W, exec, $scriptsDir/WallpaperSelect.sh bind = ALT, W, exec, $scriptsDir/WaybarLayout.sh diff --git a/config/hypr/scripts/Wallpaper.sh b/config/hypr/scripts/Wallpaper.sh index 8fdfcbb1..c494dca1 100755 --- a/config/hypr/scripts/Wallpaper.sh +++ b/config/hypr/scripts/Wallpaper.sh @@ -6,11 +6,18 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts" PICS=($(find ${DIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \))) RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} -swww query || swww init -swww img ${RANDOMPICS} --transition-fps 30 --transition-type any --transition-duration 3 +# Transition config +FPS=30 +TYPE="any" +DURATION=3 +SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION" + + +swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS ${SCRIPTSDIR}/PywalSwww.sh & sleep 1 ${SCRIPTSDIR}/Refresh.sh + diff --git a/config/hypr/scripts/WallpaperRandom.sh b/config/hypr/scripts/WallpaperRandom.sh index e0f8ee7d..aafcf2ae 100755 --- a/config/hypr/scripts/WallpaperRandom.sh +++ b/config/hypr/scripts/WallpaperRandom.sh @@ -29,7 +29,7 @@ while true; do done \ | sort -n | cut -d':' -f2- \ | while read -r img; do - swww img "$img" & $pywal_script & $pywal_refresh + swww img "$img" && $pywal_script & $pywal_refresh sleep $INTERVAL done diff --git a/config/hypr/v2.1.11 b/config/hypr/v2.1.12 index 31b3414d..31b3414d 100644 --- a/config/hypr/v2.1.11 +++ b/config/hypr/v2.1.12 |
