horriblename / hyprgrass

hyprland plugin for touch gestures
BSD 3-Clause "New" or "Revised" License
296 stars 12 forks source link

[Suggestion] App switcher #160

Open System64fumo opened 1 month ago

System64fumo commented 1 month ago

I would love to see something like an app switcher like the ones found on mobile oses.

Example




Desired behavior

Differences from hyprexpo

Hyprexpo has a static grid, This should be dynamic & scrollable. Hyprexpo shows the wallpaper in every workspace, This should only show the toplevels in a workspace.

Final thoughts

I understand that all of this might be too much to ask for and that you might not have the time nor motivation to work on such big of a task. I'd happily donate if it motivates you or helps in any way.

horriblename commented 1 month ago

definitely out of scope for this project, but I'll think about it as a separate plugin

System64fumo commented 1 month ago

Awesome! Please keep me updated :call_me_hand:

horriblename commented 3 weeks ago

hyprspace might interest you

System64fumo commented 3 weeks ago

@horriblename it does, Do you think you could possibly add touchscreen compatibility to it? (Ie make it compatible with hyprgrass?)

horriblename commented 3 weeks ago

can you elaborate? I haven't tried it but it does seem to have some basic touch support

System64fumo commented 2 weeks ago

I've tried it but couldn't get it working with touch yet (known issue) The switcher can be configured almost the way that i want As for the touch gesture support I would love for it to integrate with hyprgrass's edge swipe feature

In other words I'd like it to behave like mobile OS-es do Swipe up to trigger the switcher Swipe left or right to switch workspaces

horriblename commented 2 weeks ago

I've put up a fix for touch screen crashing

System64fumo commented 2 weeks ago

Awesome work!

Regarding the dispatcher though.. I was kind of hoping to avoid doing that I was looking for something seemless (Like with a trackpad for instance)

horriblename commented 2 weeks ago

well it's not impossible... I just don't know if it's a good idea. I'll cook something up

System64fumo commented 2 weeks ago

Likely a terrible idea

There are like 2 ways of going about doing this 1: Support this behavior from hyprspace (Copy bottom gesture code from hyprgrass to hyprspace) 2: Support this behavior from hyprgrass (Copy workspace preview code from hyprspace to hyprgrass)

smathles commented 5 days ago

Keen to see where this goes. The lack of touchscreen functionality with hyprspace is a bit painful atm.

I get it though if it's not exactly the intended scope of hyprgrass though lol, wrong plugin.

System64fumo commented 5 days ago

Yeah hope either the desired functionality gets added to hyprspace or horriblename starts their own plugin (Or adds support for this to hyprgrass)

horriblename commented 18 hours ago

waiting for #174

TL;DR hyprgrass will be exposing hooks so that other plugins can have hyprgrass integration

System64fumo commented 16 hours ago

Oh that would be incredible! Good work!!