diff options
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/GameMode.sh | 6 | ||||
| -rwxr-xr-x | config/hypr/scripts/Refresh.sh | 3 | ||||
| -rwxr-xr-x | config/hypr/scripts/RefreshNoWaybar.sh | 8 | ||||
| -rwxr-xr-x | config/hypr/scripts/Wallpaper.sh | 1 | ||||
| -rwxr-xr-x | config/hypr/scripts/WallpaperSelect.sh | 1 |
5 files changed, 9 insertions, 10 deletions
diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 50aed7cf..fe3fed78 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -15,13 +15,13 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then keyword general:border_size 1;\ keyword decoration:rounding 0" swww kill - dunstify -u low -i "$dunst_notif" "animations off" + dunstify -u low -i "$dunst_notif" "gamemode enabled. All animations off" exit else swww init && swww img "$HOME/.config/rofi/.current_wallpaper" sleep 0.5 - ${SCRIPTSDIR}/RefreshNoWaybar.sh - dunstify -u low -i "$dunst_notif" "Animations turned on" + ${SCRIPTSDIR}/Refresh.sh + dunstify -u low -i "$dunst_notif" "gamemode disabled. All animations normal" exit fi hyprctl reload diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index c9ad2a66..0d91de8d 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -18,9 +18,6 @@ sleep 0.1 # Relaunch dunst with pywal-borders ${SCRIPTSDIR}/PywalDunst.sh & -# Pywal refresh -${SCRIPTSDIR}/PywalSwww.sh & - # Relaunching rainbow borders sleep 1 ${SCRIPTSDIR}/RainbowBorders.sh & diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index f177438d..c834a531 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -14,13 +14,13 @@ for _prs in "${_ps[@]}"; do fi done -sleep 0.1 -# Relaunch dunst with pywal-borders -${SCRIPTSDIR}/PywalDunst.sh & - # Pywal refresh ${SCRIPTSDIR}/PywalSwww.sh & +sleep 0.5 +# Relaunch dunst with pywal-borders +${SCRIPTSDIR}/PywalDunst.sh & + # Relaunching rainbow borders sleep 1 ${SCRIPTSDIR}/RainbowBorders.sh & diff --git a/config/hypr/scripts/Wallpaper.sh b/config/hypr/scripts/Wallpaper.sh index e670dc6b..38444b39 100755 --- a/config/hypr/scripts/Wallpaper.sh +++ b/config/hypr/scripts/Wallpaper.sh @@ -18,6 +18,7 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS +${SCRIPTSDIR}/PywalSwww.sh sleep 1 ${SCRIPTSDIR}/Refresh.sh diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh index 61049e5b..cde48225 100755 --- a/config/hypr/scripts/WallpaperSelect.sh +++ b/config/hypr/scripts/WallpaperSelect.sh @@ -80,5 +80,6 @@ fi main +${SCRIPTSDIR}/PywalSwww.sh sleep 1 ${SCRIPTSDIR}/Refresh.sh |
