Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wokspace Float WIndows by Default #4692

Closed
TsujimotoYukasuke opened this issue Feb 13, 2024 · 8 comments
Closed

Wokspace Float WIndows by Default #4692

TsujimotoYukasuke opened this issue Feb 13, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@TsujimotoYukasuke
Copy link

Description

Please add a workspace rule for having all windows within that workspace to float.

I noticed a possible duplicate of this request: #1682, but I believe that the difference here is that I would like there to be a workspace that floats all windows by default rather than having a keybind to do that instead.

@TsujimotoYukasuke TsujimotoYukasuke added the enhancement New feature or request label Feb 13, 2024
@hiddenruins
Copy link

You can add windowrule for a certain workspace. http://wiki.hyprland.org/Configuring/Window-Rules/#window-rules-v2

windowrulev2 = float, workspace:< id or name: and name>

eg
windowrulev2 = float, workspace:5

@dlealmt
Copy link
Contributor

dlealmt commented Feb 13, 2024

@TsujimotoYukasuke why do you want this? Could you describe your use-case?

@vaxerski
Copy link
Member

as above

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2024
@TsujimotoYukasuke
Copy link
Author

@TsujimotoYukasuke why do you want this? Could you describe your use-case?

I would like to use Hyprland as both a Stacking and Tiling Window Manager. Keeping specific workspaces as Stacking so that I can have the standard Desktop experience, but having others as Tiling for work related tasks where having multiple windows that I can switch between using keybindings would be nice.

Most window managers I know of have this functionality in some way.

You can add windowrule for a certain workspace. http://wiki.hyprland.org/Configuring/Window-Rules/#window-rules-v2

windowrulev2 = float, workspace:< id or name: and name>

eg windowrulev2 = float, workspace:5

I tried doing this before (and tried again just now), but it does not seem to work.

@TsujimotoYukasuke
Copy link
Author

@vaxerski

Hey, if this really is just something you guys don't want to add, then that's fine. I'm pinging you just in case you closed this out of the assumption that my issue was resolved.

@vaxerski
Copy link
Member

this does work, just verified.

@TsujimotoYukasuke
Copy link
Author

Modified my config, was using this: windowrulev2 = float,workspace:1,workspace:2, changed it to this:

windowrulev2 = float, workspace:1
windowrulev2 = float, workspace:2

I'm a bit embarrassed right now, but I should have copied exactly instead of assuming how the config syntax works. Sorry about that, and thank you for the help.

@vaxerski
Copy link
Member

hard for a window to be on ws 1 and 2 at the same time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants