aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/GameMode.sh1
-rwxr-xr-xconfig/hypr/scripts/WallustSwww.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh
index 04b337ed..7a39da3d 100755
--- a/config/hypr/scripts/GameMode.sh
+++ b/config/hypr/scripts/GameMode.sh
@@ -26,6 +26,7 @@ else
sleep 0.1
${SCRIPTSDIR}/WallustSwww.sh
sleep 0.5
+ hyprctl reload
${SCRIPTSDIR}/Refresh.sh
notify-send -e -u normal -i "$notif" " Gamemode:" " disabled"
exit
diff --git a/config/hypr/scripts/WallustSwww.sh b/config/hypr/scripts/WallustSwww.sh
index 5a0bc491..5e0148ee 100755
--- a/config/hypr/scripts/WallustSwww.sh
+++ b/config/hypr/scripts/WallustSwww.sh
@@ -39,7 +39,8 @@ else
if [[ -f "$cache_file" ]]; then
# The first non-filter line is the original wallpaper path
- wallpaper_path="$(grep -v 'Lanczos3' "$cache_file" | head -n 1)"
+ # wallpaper_path="$(grep -v 'Lanczos3' "$cache_file" | head -n 1)"
+ wallpaper_path=$(swww query | grep $current_monitor | awk '{print $9}')
fi
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage