diff options
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/GameMode.sh | 1 | ||||
| -rwxr-xr-x | config/hypr/scripts/WallustSwww.sh | 3 |
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 |
