Coder Social home page Coder Social logo

Comments (10)

vaxerski avatar vaxerski commented on May 18, 2024

Fullscreen and workspace rules added in 894a9b0

Scratchpads - please demo link, I've never understood those.

from hypr.

vaxerski avatar vaxerski commented on May 18, 2024

mouse support for dragging tiled windows added in 0b9a332

from hypr.

 avatar commented on May 18, 2024

Thanks for implementing them! I've build Hypr with the void-template which seems to pull the releases so I'll have to wait until 1.1.2 to test them (perhaps I'll replace it with a manual build if I'm too impatient) but I'll report back once I have.

The scratchpad feature is similar to the drop-down terminal which most DEs have. It is in its essence a tool which can send an application/terminal to an invisible workspace where it remains in its current state until the user pulls it back to focus. Here's a video demonstration of the Scratchpad patch in Dwm.
Think of it like a literal scratchpad - perhaps you're watching a lecture and you need to note something down now and then but don't want it to take up space - send the app to the scratchpad where it is out of view but remains in the state you left it in; like putting a notepad in your pocket - and when it's time to write something you can pull it back to the front with a quick button press and the file is still open in the state you left it in.

If it is still unclear and you're still interested to know more you could spin up a VM with bspwm and try the snippet above to see it in action. Regardless, thanks again for implementing the other features. Looking forward to testing them.

from hypr.

vaxerski avatar vaxerski commented on May 18, 2024

ok got it how scratchpads work. sure.

from hypr.

vaxerski avatar vaxerski commented on May 18, 2024

made a release and added scratchpads.

Urgent will do later.

from hypr.

 avatar commented on May 18, 2024

Thank you for implementing these features so quickly. I've updated and the drag support is fantastic. Scratchpad is excellent too.

Since Scratchpad is limited to one application, it is perhaps worth considering whether it is possible to have it bound to one key rather than requiring two? E.g:
If scratchpad is empty > send app to scratchpad
If scratchpad is occupied > retrieve app from scratchpad

Just a thought. It is excellent as is, as well.

Having a bit more trouble with the workspace rules. What is the correct format for defining rules for classes which have spaces in their names, for example:

windowrule=workspace 3,role:Jellyfin Media Player
windowrule=workspace 3,role:'Jellyfin Media Player'
windowrule=workspace 3,role:"Jellyfin Media Player"

None of these work.

from hypr.

vaxerski avatar vaxerski commented on May 18, 2024

try class:
role is an Xorg internal value.

edit: scratchpad isnt limited to one application in hypr

from hypr.

 avatar commented on May 18, 2024

class: works, thanks.

from hypr.

BartolomeyKant avatar BartolomeyKant commented on May 18, 2024

I am also missing for focus by click feature. I nether use focus by hover since sometimes mouse may be moved by accident, so it would be great to focus windows by explicit click.

I also love this WM!

from hypr.

Zxmon-code avatar Zxmon-code commented on May 18, 2024

I am also missing for focus by click feature. I nether use focus by hover since sometimes mouse may be moved by accident, so it would be great to focus windows by explicit click.

I also love this WM!

You could make a new issue for new suggestions.

from hypr.

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.