switchwall: unfuck wallpaper query on multimonitor (#1581)

This commit is contained in:
end-4
2025-07-09 14:36:07 +07:00
parent a8f52a5adf
commit d572f4a113
@@ -297,7 +297,7 @@ main() {
;;
--noswitch)
noswitch_flag="1"
imgpath=$(swww query | awk -F 'image: ' '{print $2}')
imgpath=$(swww query | head -1 | awk -F 'image: ' '{print $2}')
shift
;;
*)