Commit Graph
4 Commits
Author SHA1 Message Date
alex-ds13 b7bedce1ca feat(wm): add window_container_behaviour and float_override to workspaces
This commit adds the `window_management_behaviour` and the
`float_override` options to the workspace, so that these can be changed
per-workspace. It allows setting this options directly on the config.
2024-10-10 13:22:34 +01:00
alex-ds13 30bdaf33d5 feat(cli): add command for new option ToggleFloatOverride 2024-10-10 12:12:20 +01:00
alex-ds13 0e8dc85fb1 feat(wm): add new float override option
This commit introduces a new option `float_override`, which makes it so
every every window opened, shown or uncloaked will be set to floating,
but it won't be ignored. It will be added to the floating_windows of the
workspace, meaning that the user can later tile that window with
toggle-float command.

This allows the users to have all windows open as floating and then
manually tile the ones they want.
2024-10-10 11:34:35 +01:00
alex-ds13 46e6d89770 fix(wm): update monitor focus before focus-stack-window
This commit fixes the cases where you'd call this command on a monitor
which was not focused, for example by pressing a button on a bar like
komorebi-bar or other when you had focus on another monitor.
This change ensures that first we focus the monitor where the mouse cursor
is, this way it will act on the monitor that you've just pressed instead
of the monior that was focused before.
2024-10-07 09:51:04 -07:00