forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/window/unmapped.rsClear filter

2025-09-02

2025-01-31

2024-12-30

2024-12-27

Implement default-window-height window ruleIvan Molodetskikh · 6fba4c3
Implement default-window-height window rule

Only works for floats that aren't initially fullscreen atm.
floating: Support default-column-width in most casesIvan Molodetskikh · db6447e
floating: Support default-column-width in most cases

open-fullscreen + open-floating default width is still not supported in this
commit.

2024-11-30

layout: Extract ScrollingSpaceIvan Molodetskikh · 8665003
layout: Extract ScrollingSpace

Leave the Workspace to do the workspace parts, and extract the scrolling parts
into a new file. This is a pre-requisite for things like the floating layer
(which will live in a workspace alongside the scrolling layer).

As part of this huge refactor, I found and fixed at least these issues:
- Wrong horizontal popup unconstraining for a smaller window in an
  always-centered column.
- Wrong workspace switch in focus_up_or_right().

2024-11-16

Activate newly mapped windows with a valid activation tokenChristian Meissl · 305fc3b
Activate newly mapped windows with a valid activation token

most of the time the activation token is passed
while the window is still unmapped. in this case
store the intend to activate the window for
later retrieval on map.

2024-05-11

Implement named workspacesGergely Nagy · eb9bbe3
Implement named workspaces

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-03-23

2024-03-19

Make window a subdirectoryIvan Molodetskikh · f31e105Browse files