fancywm icon indicating copy to clipboard operation
fancywm copied to clipboard

Direct Hotkeys

Open riotrah opened this issue 3 years ago • 7 comments

Is your feature request related to a problem? Please describe. Often frustrated when I must repeatedly repeat activation key for actions that are not either covered by their own hotkeys - it adds a frustrating cumulative delay. Primary example is when trying to traverse more than 2 windows/panels visually ( ie when I feel inclined to traverse windows via arrow keys vs alt-tabbing to a known window instead )

Describe the solution you'd like I wish I could quickly just press < hotkey modifier > + LeftArrow 3 times, instead of < activation key >, wait slightly, LeftArrow 3 times.

This would entail, either per-action, custom "direct" hotkeys, for which an prior-pressed activation key is not required, or an entirely different opt-in hotkey model, that eschews the chorded activation approach altogether in lieu of traditional keyboard shortcuts. Another approach may be that certain actions, like window traversal ( actions involving direction keys for example ) support direct hotkeys whilst others do not, at your discretion.

Describe alternatives you've considered Being more patient and less speed-oriented.

Reframing how I conceive of window traversal in my head to application/window-based instead of visually/spatially, thus reaching for alt-tab instead of fancywm arrow key shortcuts.

Additional context Add any other context or screenshots about the feature request here.

riotrah avatar Dec 28 '21 16:12 riotrah

It can work similar to Pop_Shell in PopOS. Meta + Shift should open windows management mode which should be ended after pressing Enter (to accept) or Esc (to cancel changes) or smth like that.

Anyway, +1.

Kermit avatar Jan 12 '22 10:01 Kermit

I have been contemplating what a good fix to this issue would constitute. I have previously evaluated the direct hotkeys and the activation hotkey approaches, and concluded that there are more benefits to the activation hotkey approach (mainly, once can safely assign hotkeys to all actions, without worrying about clashing with other applications).

I understand the desire to have a quicker way of moving between windows specifically, but then also, the same could be said for any other action. I would be striving for a more general solution, perhaps configurable on a per-action basis. I do not have a clear plan yet though.

@riotrah Thank you for opening this feature request. You seem to indicate that there is the necessity to wait after pressing the action hotkey. Under normal circumstances, that should not be necessary. The appearance of the popup is purposefully staggered, so as not to appear during quick hotkey presses. It is not necessary to wait before pressing the Left arrow key, for example. If that is not the case for you, I would consider it a bug.

@Kermit Thanks for the suggestion. In general, I would prefer to stay away from having an editing mode. That is, in my mind, one of the features of FancyWM. I don't believe having a separate mode that you enter manually and leave manually is better in the average case. There have been suggestions in a comment on a different thread about having a continuous mode https://github.com/FancyWM/fancywm-issues/issues/14#issuecomment-998861089, which am currently experimenting with. Anyway, consider opening a feature request if you feel that there is something to be gained from having this editing mode.

Thanks.

veselink1 avatar Jan 12 '22 12:01 veselink1

allow me to chip in on this one, you the fact that there aren't direct hotkeys, is the reason i won't be using fancyWM, my prefered way of working with a tiling manager is the ability to have tabbed workspace and quickly move from one to another, having to always press the activation key essentially means I'm wasting time on something that's meant to be faster than anything else. @veselink1 it's fantastic to see that you're thinking of an elegant solution, I'll keep an eye out on this issue to see where it goes! I don't want to come off as someone that comes in and complains so let me add that you've created something awesome, I loved FWM!

lentsius-bark avatar Jan 12 '22 14:01 lentsius-bark

Quick update: As of v2.4.0, users are able to set up custom hotkeys using AutoHotkey (in preview).

veselink1 avatar Jan 23 '22 13:01 veselink1

Experimental in-app support for direct hotkeys is now available in v2.6.0.

veselink1 avatar Feb 08 '22 13:02 veselink1

@veselink1 , how can I get to this feature? I have v 2.6.7.0

paprocki-r avatar Jul 07 '22 13:07 paprocki-r

@paprocki-r Lightning bolt button next to the keybinding enables it. image

veselink1 avatar Aug 07 '22 16:08 veselink1

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Apr 21 '24 02:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 05 '24 02:05 github-actions[bot]