Giter Site home page Giter Site logo

Comments (6)

cunbidun avatar cunbidun commented on May 20, 2024 1

Hey, thanks for the quick response.

The "unfocus": "hide" feature works perfectly as intended. However, sometimes, I donโ€™t want the scratchpad to disappear when losing focus. For example, when I need to copy and paste commands from a browser to the terminal scratchpad.

from pyprland.

fdev31 avatar fdev31 commented on May 20, 2024

Hi!
If you add:

       "unfocus": "hide"

On each of your scratchpads, do you achieve that or it's not really perfect ?

from pyprland.

fdev31 avatar fdev31 commented on May 20, 2024

It would be easy to have it as a global option for every scratchpad: "exclusive_focus": true, for instance.

Another way could which seems more flexible would be to have a per-scratch attribute telling a list of scratches which should be hidden if this one is shown: "excludes": ["scratchpadX", "otherPad"]

I may prefer the later.
Do you have other ideas or comments about this ? Or suggestions about the naming...

from pyprland.

cunbidun avatar cunbidun commented on May 20, 2024

Both are good options. Iโ€™d prefer the first option. The second sure gives more flexibility, but also adds more implementation complexity

from pyprland.

fdev31 avatar fdev31 commented on May 20, 2024

Check https://github.com/hyprland-community/pyprland/wiki/Plugins#excludes-optional & latest version if you can

from pyprland.

fdev31 avatar fdev31 commented on May 20, 2024

To me it's allowing to do what to expect, I added a shortcut syntax to make it more convenient to configure.
Re-open if I misunderstood or if you get troubles using it.

from pyprland.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.