forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 64a935192143286d59b94de00ba4726dadf0fd79Filtered to src/layout/monitor.rsClear filter

2024-08-29

Animate focus-workspace by idx/back and forth/previousIvan Molodetskikh · 8eb34b2
Animate focus-workspace by idx/back and forth/previous

Deleting the test because it only made sense when no-animation was
special cased.

2024-08-28

2024-08-23

Implement window close transactionIvan Molodetskikh · c8839f7
Implement window close transaction

Mainly visible with disabled animations.

2024-06-19

2024-06-17

Animate xdg-activation and foreign-toplevel workspace switchesIvan Molodetskikh · 793e1bd
Animate xdg-activation and foreign-toplevel workspace switches

These are a bit jarring without an animation.
Refactor layout to fractional-logicalIvan Molodetskikh · 1dae45c
Refactor layout to fractional-logical

Lets borders, gaps, and everything else stay pixel-perfect even with
fractional scale. Allows setting fractional border widths, gaps,
struts.

See the new wiki .md for more details.

2024-06-11

2024-06-09

Add `focus-column-right-or-first`, `focus-column-left-or-last` (#391)James Sully · Unverifieda55e385
Add `focus-column-right-or-first`, `focus-column-left-or-last` (#391)

* add focus-column-right-or-first

* add focus-column-left-or-last

2024-05-22

2024-05-16

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-05-10

2024-05-04

Split update_render_elements() from advance_animations()Ivan Molodetskikh · 73cc007
Split update_render_elements() from advance_animations()

advance_animations() is called from places like input, whereas
update_render_elements() is strictly for rendering.

2024-04-19

Synchronize column removal anim on consume left/rightIvan Molodetskikh · 568c35f
Synchronize column removal anim on consume left/right

Visible when consuming left/right when always-centered and differing
horizontal view anim.

2024-04-17

2024-04-16

2024-04-14

2024-03-24

2024-03-19

Workspace back and forth (#253)FluxTape · Unverified23ac3d7
Workspace back and forth (#253)

* implement workspace back and forth

* Make our own ID counter instead of SerialCounter, use a newtype

* Rename FocusWorkspaceBackAndForth to FocusWorkspacePrevious

* Add focus-workspace-previous to tests

* Don't special case in switch_workspace_previous

* Minor clean up

* Add switch_workspace_auto_back_and_forth to tests

* Skip animation on switch_workspace_previous

* Preserve previous_workspace_id on workspace movement

* Make Workspace::id private with a getter

Reduce the chance it gets overwritten.

* Add test for workspace ID uniqueness

* Update previous workspace ID upon moving workspace across monitors

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2024-03-17

2024-02-26

2024-03-05

2024-03-04

2024-03-03

2024-03-02

Fix vertical gesture constantIvan Molodetskikh · 1548db5
Fix vertical gesture constant

400 is for width not height.
Make vertical touchpad swipe inertialIvan Molodetskikh · e0ec6e5
Make vertical touchpad swipe inertial

Values and implementation are heavily inspired by AdwSwipeTracker.

2024-02-29

2024-02-13

2024-02-10

Implement niri msg actionIvan Molodetskikh · 93e16a6Browse files

2024-02-07

animation: Accept ms as u32Ivan Molodetskikh · 753a904
animation: Accept ms as u32

Less boilerplate elsewhere.
Activate the new right_of window on its workspaceIvan Molodetskikh · 4b8e04d
Activate the new right_of window on its workspace

This way when a dialog opens on a different workspace, the user will see
it right away when they switch to that workspace.

2024-02-06

Split render_helpers.rsIvan Molodetskikh · b2298dbBrowse files

2024-02-03

2024-02-05

2024-02-04

layout: Make rendering not Window-specificIvan Molodetskikh · 7a4bb8b
layout: Make rendering not Window-specific

Doesn't need to be any more.

2024-01-19

2024-01-15

Add move-column-to-workspace* bindsIvan Molodetskikh · cc4acdf
Add move-column-to-workspace* binds

As opposed to move-window-to-workspace*

2024-01-07

Move config into a separate crateIvan Molodetskikh · 64c41fa
Move config into a separate crate

Get miette and knuffel deps contained within.

2024-01-01

2023-12-29

2023-12-28

Rename window -> tile, fix popup unconstraining window_yIvan Molodetskikh · 777ad4e
Rename window -> tile, fix popup unconstraining window_y

I missed the window_y thing and found it thanks to the rename. Too lazy
to split it into a commit.