Use hyprNStack focus-local placement branch

This commit is contained in:
2026-05-06 13:51:17 -07:00
parent 837ba834ba
commit 32cb3944cc
4 changed files with 8 additions and 5 deletions

View File

@@ -133,6 +133,8 @@ Required behavior:
- Scrolling layouts are not acceptable. - Scrolling layouts are not acceptable.
- All ordinary splits are vertical. - All ordinary splits are vertical.
- Adding windows dynamically redistributes all tiled windows evenly. - Adding windows dynamically redistributes all tiled windows evenly.
- Newly tiled windows are inserted near the currently focused tile, not
appended to the far end of the workspace.
- Removing windows dynamically redistributes all tiled windows evenly. - Removing windows dynamically redistributes all tiled windows evenly.
- Ordinary use should not require manually managing a split tree. - Ordinary use should not require manually managing a split tree.
- Tabbed/fullscreen-style monocle layout is available. - Tabbed/fullscreen-style monocle layout is available.

View File

@@ -228,6 +228,7 @@ local function apply_nstack_config()
layout = { layout = {
orientation = "left", orientation = "left",
new_on_top = false, new_on_top = false,
new_near_focused = true,
new_is_master = false, new_is_master = false,
no_gaps_when_only = true, no_gaps_when_only = true,
special_scale_factor = 0.8, special_scale_factor = 0.8,

8
nixos/flake.lock generated
View File

@@ -740,16 +740,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1777498784, "lastModified": 1778094893,
"narHash": "sha256-u/FCBctT/CqPYc9uZyI+bhDKQSBCV8L/z8u6IEC2iiU=", "narHash": "sha256-8kN2xim0z20GV7BT2xt/WCWER08fLTEaRvQGLn/uH2E=",
"owner": "colonelpanic8", "owner": "colonelpanic8",
"repo": "hyprNStack", "repo": "hyprNStack",
"rev": "e2b07d6a7b472a0dd5bef00a1c0c186ccd2f46c6", "rev": "7d723e850b2a60e08f10d49e11c4e9f9697317a8",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "colonelpanic8", "owner": "colonelpanic8",
"ref": "hyprland-lua-integration", "ref": "codex/new-near-focused-window",
"repo": "hyprNStack", "repo": "hyprNStack",
"type": "github" "type": "github"
} }

View File

@@ -97,7 +97,7 @@
}; };
hyprNStack = { hyprNStack = {
url = "github:colonelpanic8/hyprNStack?ref=hyprland-lua-integration"; url = "github:colonelpanic8/hyprNStack?ref=codex/new-near-focused-window";
inputs = { inputs = {
hyprland.follows = "hyprland"; hyprland.follows = "hyprland";
nixpkgs.follows = "nixpkgs"; nixpkgs.follows = "nixpkgs";