aboutsummaryrefslogtreecommitdiff
path: root/src/window/mod.rs
AgeCommit message (Collapse)Author
2024-08-22feature: add on-demand vrr (#586)Michael Yang
* feature: add on-demand vrr * Don't require connector::Info in try_to_set_vrr * Improve VRR help message * Rename connector_handle => connector * Fix tracy span name * Move on demand vrr flag set higher * wiki: Mention on-demand VRR --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-06-28mapped: Make is_active_in_column privateIvan Molodetskikh
2024-05-16Implement at-startup window ruleIvan Molodetskikh
2024-05-16Implement named workspacesGergely Nagy
This is an implementation of named, pre-declared workspaces. With this implementation, workspaces can be declared in the configuration file by name: ``` workspace "name" { open-on-output "winit" } ``` The `open-on-output` property is optional, and can be skipped, in which case the workspace will open on the primary output. All actions that were able to target a workspace by index can now target them by either an index, or a name. In case of the command line, where we do not have types available, this means that workspace names that also pass as `u8` cannot be switched to by name, only by index. Unlike dynamic workspaces, named workspaces do not close when they are empty, they remain static. Like dynamic workspaces, named workspaces are bound to a particular output. Switching to a named workspace, or moving a window or column to one will also switch to, or move the thing in question to the output of the workspace. When reloading the configuration, newly added named workspaces will be created, and removed ones will lose their name. If any such orphaned workspace was empty, they will be removed. If they weren't, they'll remain as a dynamic workspace, without a name. Re-declaring a workspace with the same name later will create a new one. Additionally, this also implements a `open-on-workspace "<name>"` window rule. Matching windows will open on the given workspace (or the current one, if the named workspace does not exist). Signed-off-by: Gergely Nagy <niri@gergo.csillger.hu>
2024-05-11Add is_active_in_columnTheZoq2
Add missing ``` Fix tests
2024-05-02Implement rounded window cornersIvan Molodetskikh
2024-04-24Implement focus-ring window ruleIvan Molodetskikh
2024-04-24Implement border window ruleIvan Molodetskikh
2024-03-24Implement block-out-from window rule, fix alpha on window screenshotsIvan Molodetskikh
2024-03-24Implement opacity window ruleIvan Molodetskikh
2024-03-23Add is-focused window rule matcherIvan Molodetskikh
2024-03-23Add is-active window rule matcherIvan Molodetskikh
2024-03-23Pass Un/Mapped to window rule resolutionIvan Molodetskikh
2024-03-19Implement draw-border-with-background window ruleIvan Molodetskikh
2024-03-19Implement window rule reloading and min/max size rulesIvan Molodetskikh
2024-03-19Wrap mapped windows in a MappedIvan Molodetskikh
2024-03-19Make window a subdirectoryIvan Molodetskikh