diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-02-19 00:17:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-19 00:17:45 +0900 |
| commit | 259be5801f64ddcec5bdc7d97512322079c57314 (patch) | |
| tree | 00a1a8549388f6286027ca3859963102f80a40c2 /config/hypr/UserScripts/WallpaperEffects.sh | |
| parent | 7ed5afe7c68777c83b99fffae067374d508eb9b9 (diff) | |
| parent | 6545cbd6f3cc7620f53e5872e018ea8c0b91d9d8 (diff) | |
Merge pull request #561 from JaKooLit/main
main to development
Diffstat (limited to 'config/hypr/UserScripts/WallpaperEffects.sh')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperEffects.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 2573f5e0..52cd0b4d 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -7,7 +7,7 @@ terminal=kitty wallpaper_current="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" wallpaper_output="$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified" SCRIPTSDIR="$HOME/.config/hypr/scripts" -focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') +focused_monitor=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | .name') rofi_theme="~/.config/rofi/config-wallpaper-effect.rasi" # Directory for swaync |
