diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-12-17 19:39:54 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-17 19:39:54 +0900 |
| commit | 0ac64eb61526f5ae02a58e5e90a589ec0f4c3b45 (patch) | |
| tree | b219d23b8e7e8c4330f1576250c306edf48da3f1 /config/hypr/scripts | |
| parent | 9e100deb5604e606a73210a38466e8edfd12a178 (diff) | |
| parent | c8f54744c027fc48c7b34b8a1dafad2306e29136 (diff) | |
Merge pull request #80 from JaKooLit/Development
Development
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 |
