hyprland: dwindle resize only moves the dragged edge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
81b8cd173d
commit
fa0a654f5f
2 changed files with 99 additions and 1 deletions
|
|
@ -11,6 +11,11 @@ in
|
|||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
# Dragging a tiled edge only resizes the windows touching it; stock
|
||||
# dwindle rescales the whole subtree beyond it, so untouched edges slid.
|
||||
package = pkgs.hyprland.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ [ ../patches/hyprland-dwindle-pin-far-sides.patch ];
|
||||
});
|
||||
# Closing a window that's being shared ends the share (Discord stops the
|
||||
# stream) instead of streaming its last frame forever.
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland.overrideAttrs (old: {
|
||||
|
|
@ -72,7 +77,7 @@ in
|
|||
libcanberra-gtk3
|
||||
];
|
||||
|
||||
home-manager.users.fred = { config, lib, pkgs, inputs, ... }:
|
||||
home-manager.users.fred = { config, osConfig, lib, pkgs, inputs, ... }:
|
||||
let
|
||||
c = config.lib.stylix.colors;
|
||||
rgb = hex: "rgb(${hex})";
|
||||
|
|
@ -218,6 +223,8 @@ in
|
|||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
configType = "lua";
|
||||
# same patched build as programs.hyprland, not a second stock copy
|
||||
package = osConfig.programs.hyprland.package;
|
||||
systemd.variables = [ "--all" ];
|
||||
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue