Yuya Nishihara
f2ce84b243
Fix copy-paste error in scroll-method error message
2024-05-28 15:35:45 +03:00
Yuya Nishihara
4746a0da7d
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-26 16:49:40 +03:00
Micah N Gorrell
eb0f7aa429
Added actions to allow focusing up or down as normal but to wrap to the column to the left or right if there is no window above or below
2024-05-24 16:44:20 +04:00
Ivan Molodetskikh
c9d90afe59
Add left-handed input property
...
Closes https://github.com/YaLTeR/niri/issues/366
2024-05-21 10:10:11 +04:00
Ivan Molodetskikh
56e02a398d
Add Default impl for niri_config::Keyboard
...
Fixes https://github.com/YaLTeR/niri/issues/357
2024-05-19 17:55:54 +04:00
Ivan Molodetskikh
bfaf9ae060
Bump version to 0.1.6
2024-05-18 14:35:42 +04:00
Ivan Molodetskikh
cbfc682f9a
Implement at-startup window rule
2024-05-16 12:27:09 +04:00
Ivan Molodetskikh
c64d9e5223
Fix missing check in Match PartialEq
2024-05-16 12:27:09 +04:00
Ivan Molodetskikh
109d99fe82
Make workspace names case-insensitive
2024-05-16 01:24:34 -07:00
Gergely Nagy
eb9bbe3352
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-16 01:24:34 -07:00
Ivan Molodetskikh
5335ef454b
Implement custom shader for window-open
2024-05-15 19:38:29 +04:00
Ivan Molodetskikh
9004c83954
Implement custom shader for window-close anim
2024-05-12 09:52:36 +04:00
Ivan Molodetskikh
29c7552852
Add linear animation curve
2024-05-12 09:50:16 +04:00
TheZoq2
47a8e75fd5
Add is_active_in_column
...
Add missing ```
Fix tests
2024-05-11 10:42:49 +04:00
Ivan Molodetskikh
1c14a0a2a9
Add a reset-window-height action
2024-05-11 09:33:23 +04:00
Ivan Molodetskikh
5248e53499
Implement do-screen-transition action
2024-05-07 22:19:11 +04:00
Ivan Molodetskikh
2e4a2e13b1
Make missing scale = automatic selection
...
That was the intention, but I missed it before.
2024-05-05 12:39:20 +04:00
Ivan Molodetskikh
65b9c74f62
Implement niri msg output
2024-05-05 10:19:47 +04:00
Ivan Molodetskikh
2dff674470
Don't expand zero radius per corner
...
So that radii like 8 8 0 0 look properly.
2024-05-05 07:43:21 +04:00
Ivan Molodetskikh
1a8d6b1f1d
Add a semi-working debug-toggle-damage binding
2024-05-03 10:33:31 +04:00
Ivan Molodetskikh
c6d64dae7a
Add debug-toggle-opaque-regions
2024-05-02 17:52:06 +04:00
Ivan Molodetskikh
42cef79c69
Implement rounded window corners
2024-05-02 14:27:53 +04:00
Ivan Molodetskikh
8d99e3c015
Add disable-direct-scanout debug flag
2024-04-25 22:10:52 +04:00
Ivan Molodetskikh
fd6c8c7790
Implement focus-ring window rule
2024-04-24 22:17:53 +04:00
Ivan Molodetskikh
3e598c565e
Implement border window rule
2024-04-24 22:01:26 +04:00
Ivan Molodetskikh
49f5402669
Implement window-resize custom-shader
2024-04-21 20:16:54 +04:00
Ivan Molodetskikh
37a836f462
Bump version to 0.1.5
2024-04-20 16:55:39 +04:00
Ivan Molodetskikh
914237fa11
Add allow-when-locked=true spawn bind property
2024-04-19 10:49:46 +04:00
Ivan Molodetskikh
65c342f2cb
config: Rearrange animations in struct
2024-04-18 17:36:12 +04:00
Ivan Molodetskikh
73e9ef5fe2
Resolve animation defaults during parsing
2024-04-17 14:06:32 +04:00
Ivan Molodetskikh
3c6d8062c5
Add variable-refresh-rate flag
2024-04-14 09:37:42 +04:00
Ivan Molodetskikh
71be19b234
Implement window resize animations
2024-04-13 11:07:23 +04:00
Ivan Molodetskikh
dd011f1012
Implement window closing animations
2024-04-09 23:42:01 +04:00
Ivan Molodetskikh
209492e700
Add ease-out-quad curve
2024-04-09 23:42:01 +04:00
Ivan Molodetskikh
c1432bfa96
Implement column movement animation
2024-04-08 19:11:25 +04:00
Ivan Molodetskikh
f81b51f4c0
Bump version to 0.1.4
2024-03-30 11:39:12 +04:00
Ivan Molodetskikh
b4eaaed19e
Upgrade dependencies
2024-03-28 17:35:27 +04:00
Ivan Molodetskikh
9927c15f68
Replace config transform with ipc
2024-03-27 17:03:17 +04:00
Ivan Molodetskikh
493c8dc890
Implement block-out-from window rule, fix alpha on window screenshots
2024-03-24 10:22:56 +04:00
Ivan Molodetskikh
8b4a9d68e0
Implement opacity window rule
2024-03-24 08:30:26 +04:00
Ivan Molodetskikh
a16a0f0e52
Implement TouchpadScroll binds
2024-03-23 20:30:45 +04:00
Ivan Molodetskikh
6ec65bc0d6
Add is-focused window rule matcher
2024-03-23 16:16:52 +04:00
Ivan Molodetskikh
b7ed2fb82a
Add is-active window rule matcher
2024-03-23 15:45:44 +04:00
Andreas Stührk
d120e0c451
input: Add support for ISO level3 shift modifier
...
This modifier is typically called "AltGr" on keyboards or "Mod5" in xkb
layouts. Requires a Smithay update.
2024-03-23 15:45:27 +04:00
Ivan Molodetskikh
0f724f2011
Stop hardcoding "us" default layout
...
XKB has its own way to pick the default.
2024-03-23 10:10:01 +04:00
Ivan Molodetskikh
b09dbb80c7
[cfg-breaking] Rename Wheel* to WheelScroll* bindings
...
Less confusion, and clearer that they are affected by natural-scroll.
2024-03-23 08:49:58 +04:00
Ivan Molodetskikh
b06e51da60
Implement bind cooldown-ms
2024-03-22 20:47:40 +04:00
Ivan Molodetskikh
6c08ba307a
input: Make functions return the whole bind
2024-03-22 20:47:35 +04:00
Ivan Molodetskikh
a0c8c39b06
Make binds accept wheel names
2024-03-22 10:36:19 +04:00
Ivan Molodetskikh
db49deb7fd
Implement draw-border-with-background window rule
2024-03-19 18:29:13 +04:00