diff options
| author | Don Williams <don.e.williams@gmail.com> | 2025-10-16 10:56:09 -0400 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2025-10-16 10:56:09 -0400 |
| commit | d48fed9a708c93f443a35fc52be085a96650d3ed (patch) | |
| tree | 1e99fc54ab0a12a70e6948f84bce81f5d8e1d49b /config/hypr/scripts | |
| parent | dd2a2859841e6aa174b8e9b03799e1df76fd6c3f (diff) | |
| parent | c862835221decf03b6640bb43e4044861cceaa04 (diff) | |
Merge remote-tracking branch 'origin/main' into development
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 |
