DreamMaoMao/hycov

movefocus feature implementation

Closed this issue · 7 comments

Hi there, I want to implement some of the cross monitor support to hycov:movefocus as found in the original function

I could add it here
And it could perhaps be an additional argument or dispatcher if not always desired

I am going to sleep now, but if you are awake, may I have your opinion on this addition

Many thanks for the project

This does not seem to have much to do with the functionality of this plugin, but rather an additional monitor focus switch scheduling, and does not conflict with the current plugin, I think you can write a separate plugin to implement it

@DreamMaoMao
The reason i mention is that binding hycov:movefocus to hjkl for example, does not only switch windows in the overview, but also everywhere else,
so one must replace movefocus with hycov:movefocus to avoid double movement.
That is ok, but then the feature where one can move between monitors using movefocus is lost as it is not implemented in hycov:movefocus which is what i proposed to implement.

It can be done with submaps but it is fiddly, i am using submaps for now

I wanted to get your thoughts, but this is not the territory of another plugin

oh oh, I think I know what you mean

yeah so adding move montior support to hycov:movefocus if not in the overview would allow it to behave like movefocus
i was going to try and do this in a submap though, maybe easier, like

bind= SUPER, h, movefocus

bind= SUPER, space, hycov:enteroverview
bind= SUPER, space, submap, overview
submap= overview
bind= SUPER, h, hycov:movefocus

bind= SUPER, space, hycov:;leaveoverview
bind= SUPER, space, submap, reset
submap= reset

Have already supported in:

2f17ef5

Oh shit, i did mean id do it, but thanks!