hyprland-community / pyprland

Scratchpads & many goodies for Hyprland [maintainer=@fdev31]
MIT License
390 stars 17 forks source link

[Feature Request] Minimization Plugin Integration with Scratchpads #42

Closed cunbidun closed 10 months ago

cunbidun commented 10 months ago

Hi,

Thank you for the fantastic project. I'd like to propose the addition of minimization features through a new plugin. Here are some of the functionalities I'm suggesting:

  1. Introduce a dock/secondary bar, similar to nwg-dock-hyprland or the awesomewm bar:

    • Enabling users to click on a window icon to toggle the visibility of the corresponding window.
  2. Provide an option to display only windows in the current workspace.

  3. Ensure compatibility with the scratchpad plugin:

    • If the scratchpad is visible, the application's icon should be present in the dock.
    • If the scratchpad is not visible, the application's icon should be removed from the dock.

I understand this is a lot to ask for, so please let me know if you think it worth implementing.

Thank you.

cunbidun commented 10 months ago

Actually, to make things less complicated, we probably don't need a GUI interface. Just need to provide some CLI command to:

  1. list
  2. show
  3. hide
fdev31 commented 10 months ago

Hello and thank you, show/hide is covered by toggle_minimized somehow ? Then a "list" feature would be enough ?

cunbidun commented 10 months ago

Hey, actually the expose plugin works pretty well for my use case. Closing