@alexia this will break the moment you have an app with a space in its name. (Yes, I understand this is a POC, but this code seems to be doing work specifically to break this.) Is there any reason for app in $argv wouldn't work?
In general, my impression with fish is that quoting argv is largely unecessary and often harmful.
@Fustiki_Scuria argv is passed as one string and not a list so I need to split it first anyways (though tbf I did write all that while sleepy so a lot of that code is unnecessary), also yes it's a scrappy PoC that I don't really intend to build further than "hey look I can drag an app here wouldn't it be cool if this was like an actual thing" as a showcase video
for things that aren't PoC, Nelson and I have bigger plans :)