mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[FEAT]: Manage float windows. #326
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @soluty on GitHub (Apr 8, 2024).
First, Thank you for the awesome work, it is now the best tiling wm i have find in windows! GlazeWM is slow and sometimes will crash in my computer.
Is your feature request related to a problem? Please describe.
In GlazeWM, it has float layer and tiled layer, and i can change my wm work in which layer, in float layer i can move and resize app window, and also can switch window, some window maybe want to managed by wm , but dont want to be tiled. i cant find a way to
do this by reading the hole doc, so i want to know is this possible in komorebi like which in GlazeWM
@NireBryce commented on GitHub (Apr 8, 2024):
to add some context for implimentation: GlazeWM has a binding that lets you move your focus-tracking the 'floating' layer on a toggle, called
focus floating/tiling(alt+space) in the keybindings image on https://github.com/glzr-io/glazewmMy haven't-looked-deeply-at-komorebi-impl view of this is that a way to do it is to just track them as if they're tiled but on a different index, and then have the focus-selection behavior swap between the indices.
if no one gets to it this week, I'll see if I can hack a prototype together, it seems like it might be low hanging fruit depending on how windows are already handled.
The one snag I can see if the project goes for copying that feature completely, is moving the floating windows, since it seems like it would require either:
komorebic moveto have a separate behavior when floatingkomorebito understand floating/not-floating and have different behaviors for commands based on it@deceptikon commented on GitHub (Dec 23, 2024):
Started using komorebic recently. I wasforced to use windows os, But I've already desperately got used to i3/swaywm tiling managers. Your solution is really useful, thanks a lot. And I am supporting the topicstarter - an ability to switch focus to floating layer is really needful. @NireBryce can you please share the status of the issue? Thanks in advance
P.S.
Forgot to mention, that i3/sway both have such functionality, not only GlazeWM
@LGUG2Z commented on GitHub (Jan 23, 2025):
Floating windows and ignored windows have now been separated, the former are tracked in the wm state and can be targets for various komorebic commands
@bilogic commented on GitHub (Sep 15, 2025):
komorebi 0.1.37
ignore_rules, but it appears on every workspacealt + ton WhatsApp, I get exactly what I want: it floats, has a border and hides when I change workspace (show only on its positioned workspace)float_rules, but WhatsApp still appears on every workspace and has no borderignore_rulesandfloat_rules?alt + t, and show only on their positioned workspace?@LGUG2Z commented on GitHub (Sep 15, 2025):
ffa76ea28c/komorebi/src/static_config.rs (L525-L526)float_rulesis a legacy alias forignore_rules- they do the same thingYou're probably looking for
floating_applications:ffa76ea28c/komorebi/src/static_config.rs (L530-L532)@bilogic commented on GitHub (Sep 15, 2025):
@LGUG2Z thanks that worked, but I think I found 3 bugs
alt + tloses focus after acycle-move-to-workspace previous/next, result: it can't be moved across multiple workspaces consecutivelyfloating_applicationsstay stuck in the workspace after a few attempts ofcycle-move-to-workspace previous/next, i.e. my workspace has switched, but the window did not move to the switched workspacecycle-move-to-workspace previous/next, the floating window loses focus, but also does not stay top mostHmm, should I file as multiple or 1 issue?