-
I'm trying to write nnn file manager preview plugin, but stuck upon one issue. When i select image new window is spawned, but this also change focus to newly opened window. Something like |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
no you can't. What you can do is query |
Beta Was this translation helpful? Give feedback.
-
It can be done. Thanks for your feedback. I think that for scripting purposes it would be nice to spawn window without loosing focus (e.g. |
Beta Was this translation helpful? Give feedback.
-
Although, why can't you just launch stuff like the way you usually use?( |
Beta Was this translation helpful? Give feedback.
no you can't. What you can do is query
hyprctl activewindow
and use that tohyprctl dispatch focuswindow <...>