Ivan Molodetskikh
0cca7a2116
default-config: Add more comments to prefer-no-csd
2024-10-01 13:28:28 +03:00
Ivan Molodetskikh
39b46b3326
default-config: Add rounded corner window rule example
2024-10-01 13:28:16 +03:00
Ivan Molodetskikh
2aebd6bdbb
default-config: Add comments to consume/expel binds
2024-10-01 13:20:38 +03:00
Ivan Molodetskikh
e35d9e760b
default-config: Uncomment BracketLeft/BracketRight
...
These are fairly useful.
2024-09-13 21:51:56 +03:00
Ivan Molodetskikh
737e99ec69
Add preset window heights to wiki & default config
2024-09-12 02:32:44 -07:00
Ivan Molodetskikh
a2c855315c
ci: Add niri-ipc rustdoc generation
2024-09-04 12:39:23 +03:00
Ivan Molodetskikh
883763c172
Implement stub mutter-x11-interop
...
Allows xdp-gnome dialogs to work with X11 clients.
Fixes https://github.com/YaLTeR/niri/issues/594
2024-08-13 09:15:57 +03:00
Ivan Molodetskikh
3ace97660f
Implement gradient color interpolation option ( #548 )
...
* Added the better color averaging code (tested & functional)
* rustfmt
* Make Color f32 0..1, clarify premul/unpremul
* Fix imports and test name
* Premultiply gradient colors matching CSS
* Fix indentation
* fixup
* Add gradient image
---------
Co-authored-by: K's Thinkpad <K.T.Kraft@protonmail.com>
2024-07-16 07:22:03 +00:00
Ivan Molodetskikh
1da99f4003
Implement focus-follows-mouse max-scroll-amount
2024-07-05 20:53:11 +04:00
Ivan Molodetskikh
986f2c14ab
Make scale use FloatOrInt
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
997119c443
Enable fractional scaling
2024-06-18 12:23:50 +03:00
Ujp8LfXBJ6wCPR
af6d84a7f8
Fix typos ( #429 )
...
* Fix typos reported by "typos" crate
https://github.com/crate-ci/typos
* Ignore typo datas -> data
See https://github.com/crate-ci/typos?tab=readme-ov-file#false-positives
for more configureability.
---------
Co-authored-by: Carl Hjerpe <git@hjerpe.xyz>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-06-09 10:50:22 +00:00
Yuya Nishihara
c8e46b9d17
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-29 16:41:03 +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
Ivan Molodetskikh
efb39e466b
default-config: Clarify spawn comments
2024-05-21 22:33:50 +04:00
Ivan Molodetskikh
1c14a0a2a9
Add a reset-window-height action
2024-05-11 09:33:23 +04:00
Ivan Molodetskikh
3509de6fbf
default-config: Add mic mute bind
2024-04-19 11:14:51 +04:00
Ivan Molodetskikh
914237fa11
Add allow-when-locked=true spawn bind property
2024-04-19 10:49:46 +04:00
Ivan Molodetskikh
cf409a4ea6
wiki: Link all sections from the overview
2024-03-28 20:53:26 +04:00
Ivan Molodetskikh
83bd2317ee
wiki: Add miscellaneous
2024-03-28 20:53:15 +04:00
Ivan Molodetskikh
0f19003611
default-config: Link layout wiki
2024-03-28 20:48:27 +04:00
Ivan Molodetskikh
4f421907cd
wiki: Add Layout
2024-03-28 17:35:36 +04:00
Ivan Molodetskikh
3c75082df2
wiki: Add key bindings
2024-03-27 21:46:11 +04:00
Ivan Molodetskikh
62f14d42dc
wiki: Add outputs section
2024-03-26 21:26:43 +04:00
Ivan Molodetskikh
3c84de5215
wiki: Document debug options
2024-03-26 19:53:58 +04:00
Ivan Molodetskikh
4d8cb3a6e3
wiki: Add animations page
2024-03-26 18:33:53 +04:00
Ivan Molodetskikh
e46003f91f
default-config: Delete some input and window rule settings
...
Replace them with links to the wiki.
2024-03-26 10:49:49 +04:00
Ivan Molodetskikh
e5bd1113ba
default-config: Make example use screen-capture blocking
2024-03-24 11:42:27 +04:00
Ivan Molodetskikh
6f765db44e
default-config: Clarify interactivity in block-out-from "screen-capture"
2024-03-24 11:37:07 +04:00
Ivan Molodetskikh
5f23d344d5
Make screenshot UI render target-aware
2024-03-24 11:25:48 +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
Ivan Molodetskikh
46131c87a5
default-config: Clarify that wheel binds are affected by natural-scroll
2024-03-23 09:02:50 +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
0d2fdb49ef
default-config: Add mouse wheel binds
2024-03-22 20:56:20 +04:00
Ivan Molodetskikh
db49deb7fd
Implement draw-border-with-background window rule
2024-03-19 18:29:13 +04:00
Ivan Molodetskikh
c61361de3c
Implement window rule reloading and min/max size rules
2024-03-19 18:29:13 +04:00
FluxTape
23ac3d7323
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-19 07:27:52 -07:00
Ivan Molodetskikh
df9d721f74
Implement focus-follows-mouse
2024-03-18 19:32:03 +04:00
FluxTape
741bee461c
Implement warp-mouse-to-focus
2024-03-18 19:31:11 +04:00
la .uetcis
cc83ff008d
Add clickfinger
in touchpad config ( #256 )
...
* Add clickfinger in touchpad config
* Change `clickfinger` to `click-method`
* Change `bottom_areas` to `button_areas`
* Change button_areas to button-areas
For consistency.
* Reorder click methods in error message
The most usual one comes first.
* default-config: Move click-method down
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-03-13 21:26:03 -07:00
Ivan Molodetskikh
ba4e7481c3
default-config: Clarify how to power on monitors
2024-03-14 08:04:34 +04:00
Ivan Molodetskikh
9cbbffc23c
Improve spring comments in default config
2024-03-05 19:06:21 +04:00
Ivan Molodetskikh
ae89b2e514
Implement spring animations
2024-03-05 13:32:52 +04:00
Ivan Molodetskikh
92d9c7ff4f
Add emulate-zero-presentation-time debug flag
2024-03-01 07:54:58 +04:00
Christian Meissl
719697179f
input: add basic touch support
2024-02-28 13:19:41 +04:00
Ivan Molodetskikh
494e98c123
Parse CSS colors in {in,}active-color
2024-02-26 09:14:35 +04:00