Closed danirabbit closed 6 months ago
@Marukesu thanks for the tips! I'm not sure why I thought the key would have to be a string :sweat_smile:
@Marukesu actually, testing it again I'm not getting the right behavior with treating SingleMainWindow
as a boolean. It returns false even when it's null. So I could check has_key
but then that's two calls where this is one call. Thoughts?
I think using string here is fine as only "true" and "false" are supported as boolean values in the desktop spec.
Fixes #77
Check if appinfo contains a single window hint or a new window action and try to launch a new instance if so. Otherwise, beep