Fix >dark >light actions for multimonitors (#332)

This commit is contained in:
end-4 2024-03-15 13:15:14 +07:00 committed by GitHub
commit 6e451f8740
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ "$1" == "--noswitch" ]; then
imgpath=$(swww query | awk -F 'image: ' '{print $2}')
imgpath=$(swww query | awk -F 'image: ' '{print $2}'| head -n 1)
# imgpath=$(ags run-js 'wallpaper.get(0)')
else
# Select and set image (hyprland)