Duncan Overbruck
f6aa8c1793
Add move-column-to-index action
2025-03-14 12:57:33 -07:00
Duncan Overbruck
a5d58d670b
Add focus-column (by index) action
2025-03-14 12:57:33 -07:00
Annika Hannig
8737067af5
added move window to monitor by id
2025-03-10 23:17:36 -07:00
Annika Hannig
50a99f6356
Implemented move-window-to-monitor and move-column-to-monitor
2025-03-10 23:17:36 -07:00
Annika Hannig
993c5ce8af
Implement focus-monitor to focus a specific monitor by output.
2025-03-10 23:17:36 -07:00
Toby Bridle
47dd338340
feat: 🎉 add show-pointer for Screenshot and ScreenshotScreen
2025-03-10 22:31:50 -07:00
bbb651 🇮🇱
16405b9b2b
Implement niri msg pick-window
...
* feat: `niri msg pick-window`
* fixes
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-02-26 15:22:27 +03:00
dependabot[bot]
9bfe90dee1
build(deps): bump the rust-dependencies group across 1 directory with 3 updates
...
Bumps the rust-dependencies group with 3 updates in the / directory: [clap](https://github.com/clap-rs/clap ), [portable-atomic](https://github.com/taiki-e/portable-atomic ) and [schemars](https://github.com/GREsau/schemars ).
Updates `clap` from 4.5.30 to 4.5.31
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.30...v4.5.31 )
Updates `portable-atomic` from 1.10.0 to 1.11.0
- [Release notes](https://github.com/taiki-e/portable-atomic/releases )
- [Changelog](https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/portable-atomic/compare/v1.10.0...v1.11.0 )
Updates `schemars` from 0.8.21 to 0.8.22
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.21...v0.8.22 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: portable-atomic
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: schemars
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-26 02:43:00 -08:00
Ivan Molodetskikh
b94a5db879
Bump version to 25.02
2025-02-21 09:05:26 +03:00
Ivan Molodetskikh
92cc2b89f7
Implement expand-column-to-available-width
2025-02-17 21:30:23 +03:00
rustN00b
5b753be213
Add missing periods to action doc comments
2025-02-13 10:37:41 +03:00
Ivan Molodetskikh
8f9e0d029c
Add set-column-display action
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
90f24da631
Move ColumnDisplay to niri-ipc
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
f90eb0cbe4
Implement tabbed column display mode
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
a444efd0eb
Add focus-window-in-column (by index) action
2025-02-05 17:25:57 +03:00
Ivan Molodetskikh
c41f93a468
Add focus-window-top/bottom/down-or-top/up-or-bottom actions
2025-02-05 17:25:51 +03:00
Evgeny Zemtsov
baa0518912
Extend switch-layout action to accept layout index ( #1045 )
...
* Extend switch-layout action to accept layout index
* Update src/input/mod.rs
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-01-26 19:09:01 +00:00
Kirottu
852da5714a
Add move-workspace-to-index and move-workspace-to-monitor actions ( #1007 )
...
* Added move-workspace-to-index and move-workspace-to-monitor IPC actions
* Added redraws to the workspace handling actions, fixed tests that panicked, fixed other mentioned problems.
* Fixed workspace focusing and handling numbered workspaces with `move-workspace-to-index`
* Fixed more inconsistencies with move-workspace-to-monitor
* Added back `self.workspace_switch = None`
* Reordered some workspace cleanup logic
* Fix formatting
* Add missing blank lines
* Fix moving workspace to same monitor and wrong current index updating
* Move function up and add fixme comment
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-01-25 08:49:51 +00:00
Ivan Molodetskikh
a10705fb20
Add toggle-window-rule-opacity action
2025-01-23 11:13:55 +03:00
Gustav Sörnäs
0df7a085de
add write-to-disk argument to screenshot actions
2025-01-14 13:39:52 +03:00
Ivan Molodetskikh
60b78dc2cd
Bump version to 25.01
2025-01-10 15:16:36 +03:00
rustn00b
5958d3be62
Allow workspace names to be changed dynamically ( #904 )
...
* Add un/set workspace name actions
* Add SetWorkspaceName reference to proptests
* Simplify unname_workspace
* Add ewaf version of set first workspace name test
* Simplify more
* Fix comment
* Make workspace in set-workspace-name a positional option
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-01-10 06:03:19 +00:00
rustn00b
80815a1591
Add a window swap operation ( #899 )
...
Swap the active window with the a neighboring column's active window.
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
Take into account PR comments
- no longer behave like an expel when a swap is made in a direction
where there is no column to swap with
- fix janky animation
2025-01-09 08:29:36 +00:00
Julian Schuler
c17d4dc050
Add actions to focus/move to next/previous monitor
2025-01-02 15:15:23 +03:00
Ivan Molodetskikh
a7c57f4faf
Add toggle-window-width by-id action
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
6c897d5201
Add center-window by-id action
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
6c52077d92
Add move-floating-window action
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
73bf7b1730
Allow hyphen values for set-window-width/height arg
...
Make args like set-window-height -10 parse as is, without having to insert a --.
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
60854e180e
Add is_floating to Window IPC
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
5b4750a009
Add focus-floating/tiling actions
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
ad50dd21fe
Add move-window-to-floating/tiling actions
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
8b0cb0bb57
Add set-window-width action
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
c5fffd6e2c
Initial WIP floating window implementation
2024-12-30 20:12:37 +03:00
Ridan Vandenbergh
a74a578198
Add focus-window-previous action ( #811 )
...
* Add `FocusWindowPrevious` action
* remove [`
* track previous focus in Niri instead of every window
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-11-21 14:48:51 +03:00
Ivan Molodetskikh
0e5e764c78
Add niri msg layers
2024-11-12 21:44:00 +03:00
Ivan Molodetskikh
d193928f31
Add PID to Window IPC
2024-11-12 09:37:25 +03:00
Ivan Molodetskikh
9d8f640503
niri-ipc: Document features
2024-11-09 17:57:52 +03:00
Ivan Molodetskikh
b18cfbae23
niri-ipc: Add README and Cargo.toml metadata
2024-11-09 17:57:34 +03:00
Ivan Molodetskikh
d5cbc35811
Implement ConsumeOrExpelWindow{Left,Right} by id
2024-10-12 09:58:03 +03:00
Winter
e24723125f
added power-on-monitors ( #723 )
2024-10-09 08:50:06 +00:00
Ivan Molodetskikh
c3cb42f04d
Add SwitchPresetWindowHeight by id
2024-09-12 02:32:44 -07:00
Christian Rieger
d0e624e615
Implement preset window heights
2024-09-12 02:32:44 -07:00
Ivan Molodetskikh
96083847fb
ipc: Clarify some things in the docs
2024-09-09 08:51:03 +03:00
Ivan Molodetskikh
370fd4e172
ipc: Convert all Action unit variants to unit struct variants
...
This is a breaking change, but likely nobody uses this through raw JSON
yet, and this allows us to add fields to any action later on without
another breaking change.
2024-09-06 18:32:51 +03:00
Ivan Molodetskikh
dcb29efce5
Implement by-id window addressing in IPC and CLI, fix move-column-to-workspace
...
This is a JSON-breaking change for the IPC actions that changed from
unit variants to struct variants. Unfortunately, I couldn't find a way
with serde to both preserve a single variant, and make it serialize to
the old value when the new field is None. I don't think anyone is using
these actions from JSON at the moment, so this breaking change is fine.
2024-09-06 18:32:41 +03:00
Ivan Molodetskikh
6c4e4b374a
ipc: Write some more docs
2024-09-04 12:29:26 +03:00
Ivan Molodetskikh
9ab887bec8
ipc: Don't re-export socket types
2024-09-04 12:03:13 +03:00
Ivan Molodetskikh
f0157e03e7
Use libdisplay-info for make/model/serial parsing, implement throughout
2024-09-03 13:48:08 +03:00
Ivan Molodetskikh
f7181fb066
Implement by-id workspace action addressing
...
It's not added to clap because there's no convenient mutually-exclusive
argument enum derive yet (to have either the current <REFERENCE> or an
--id <ID>). It's not added to config parsing because I don't see how it
could be useful there. As such, it's only accessible through raw IPC.
2024-09-01 23:47:19 -07:00
Ivan Molodetskikh
17ac52e1d4
Fix spelling mistake
2024-09-01 23:47:19 -07:00