forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 7b3bef124d85dccb3ebe21cc1a3dda45eafa0d78Filtered to src/input/mod.rsClear filter

2024-07-08

2024-07-07

Clear pointer grab upon opening the screenshot UIIvan Molodetskikh · 6ec9c72
Clear pointer grab upon opening the screenshot UI

Gets rid of DND surfaces.

2024-07-06

2024-06-30

2024-07-05

Added Commnads to focus windows or Monitors above/below the active window (#497)TheAngusMcFire · Unverifieda56e4ff
Added Commnads to focus windows or Monitors above/below the active window (#497)

* Implement focus-window-up/down-or-monitor calls

* Fixed wrong naming of focus-window-or-monitor commands

* fix copy pase errors for focusing direction

* Fixed wrong behaviour when the current workspace is empty

* Cleanup navigation code to reduce complexity

* Fix wrong comments and add testcases for FocusWindowOrMonitorUp/Down

---------

Co-authored-by: Christian Rieger <christian.rieger@student.tugraz.at>

2024-06-28

feat: add `focus-column-or-monitor-left`, `focus-column-or-monitor-right` (#456)Filipe Paniguel · Unverifiedbdf9894
feat: add `focus-column-or-monitor-left`, `focus-column-or-monitor-right` (#456)

* feat: add support for focus-window-or-monitor

* addresses output without window case

* refactor: reduce verbosity

* update this..

* refactor: rename `maybe_focus_window` functions

* refactor: flip focus_window_or_output return logic

* Update src/layout/mod.rs

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

* refactor: rename to Column

* move blocks next to other Column variables

---------

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

2024-06-19

2024-06-17

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-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-06-07

2024-05-23

Add "off" and "disabled-on-external-mouse" properties to input devicesYuya Nishihara · c8e46b9
Add "off" and "disabled-on-external-mouse" properties to input devices

This is called "events <mode>" in Sway, but we decided to use more abstracted
form for consistency with the other config items. "disabled-on-external-mouse"
is added only to touchpads, but there might be other devices that support this
option.

I think "off" also applies to keyboards, but I'm not going to add the one
because we don't have libinput machinery for the keyboard config, and it's
unlikely that user wants to disable _all_ keyboards. OTOH, pointer devices can
be disabled per type. Perhaps, this should be revisited after implementing #371.

2024-05-26

Add scroll-method property to pointer devicesYuya Nishihara · 4746a0d
Add scroll-method property to pointer devices

My use case is to enable middle-button scroll on my keyboard with pointing
stick. The device is recognized as USB mouse.

2024-05-22

2024-05-21

Add left-handed input propertyIvan Molodetskikh · c9d90af
Add left-handed input property

Closes https://github.com/YaLTeR/niri/issues/366

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>