about summary refs log tree commit diff
path: root/users/tazjin/niri-reap
AgeCommit message (Collapse)AuthorFilesLines
2024-10-02 r/8750 docs(tazjin/niri-reap): add a simple READMEVincent Ambo1-0/+20
Change-Id: I53c760115bda3df2f964ac359f4c9e127c9890ad Reviewed-on: https://cl.tvl.fyi/c/depot/+/12565 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2024-10-02 r/8749 feat(tazjin/niri-reap): improve reaping of workspaces aboveVincent Ambo1-8/+25
Previously the script ignored workspaces that were further up, but in practice I don't care about their order, I just want them to be gone. To keep IDs stable, this implements a fix where the current workspace is first moved to the first position (invisible), and windows are then reaped afterwards. I've tried this in various combinations and it seems to work fine. Change-Id: Ifc3eb272af761670ec83305665ec2103eb4f269e Reviewed-on: https://cl.tvl.fyi/c/depot/+/12564 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2024-09-17 r/8701 chore(tazjin/niri-reap): bump to niri 0.1.9Vincent Ambo3-6/+6
This is a stable release that has the IPC features this crate depends on. Change-Id: I4aaba076a53d7a95a00dd2d59a02c69af6c4d63a Reviewed-on: https://cl.tvl.fyi/c/depot/+/12495 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
2024-09-13 r/8672 feat(tazjin/niri-reap): add a workspace compacting toolVincent Ambo5-0/+201
I don't use workspaces and don't have them bound to anything in my Niri configuration. However, when an external screen is unplugged, its workspace (and windows) move to one of the remaining outputs. This adds a tool that makes the windows available again by "reaping" them from the other workspaces and moving them to the current one. For starters I'll bind this to a key and see how it works in practice. Change-Id: I18b2d60e93c8397dd637cdc426b4e46af5725558 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12451 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI