From cf2d78be1c4d251b8edbecbda22343bf55cd2b72 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Sun, 6 Oct 2024 12:43:44 +0200 Subject: [PATCH] hyprland: remove hy3 --- modules/wms/wayland/hyprland/binds.nix | 17 +---------------- modules/wms/wayland/hyprland/module.nix | 1 - modules/wms/wayland/hyprland/settings.nix | 2 +- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/modules/wms/wayland/hyprland/binds.nix b/modules/wms/wayland/hyprland/binds.nix index 140a23a..a68526a 100644 --- a/modules/wms/wayland/hyprland/binds.nix +++ b/modules/wms/wayland/hyprland/binds.nix @@ -27,16 +27,9 @@ in { workspace = toString i; in "$mainMod SHIFT, ${key}, split-movetoworkspacesilent, ${workspace}" ) (genList (i: i + 1) 10) - ++ map ( - i: let - mod = a: b: a - (b * (a / b)); - key = toString (mod i 10); - index = toString i; - in "$mainMod CONTROL, ${key}, hy3:focustab, index, ${index}" - ) (genList (i: i + 1) 10) ++ [ "$mainMod, RETURN, exec, ${pkgs.foot}/bin/foot" - "$mainMod, Q, hy3:killactive" + "$mainMod, Q, killactive" "$mainMod, F, fullscreen, 0" "$mainMod, D, exec, ${pkgs.procps}/bin/pkill fuzzel || ${pkgs.fuzzel}/bin/fuzzel" "$mainMod, SPACE, togglefloating, active" @@ -63,14 +56,6 @@ in { # Restart waybar "$mainMod CONTROL, B, exec, ${pkgs.procps}/bin/pkill waybar || ${pkgs.waybar}/bin/waybar" - - # hy3 group settings - "$mainMod, Z, hy3:makegroup, h" - "$mainMod SHIFT, Z, hy3:makegroup, v" - "$mainMod, U, hy3:makegroup, tab" - "$mainMod, A, hy3:changefocus, raise" - "$mainMod SHIFT, A, hy3:changefocus, lower" - "$mainMod, C, hy3:changegroup, opposite" ]; binde = [ diff --git a/modules/wms/wayland/hyprland/module.nix b/modules/wms/wayland/hyprland/module.nix index 25099cc..afdd338 100644 --- a/modules/wms/wayland/hyprland/module.nix +++ b/modules/wms/wayland/hyprland/module.nix @@ -52,7 +52,6 @@ in { # Split-monitor-workspaces provides awesome-like workspace behaviour plugins = [ split-monitor-workspaces - hy3 ]; # Xwayland for X applications diff --git a/modules/wms/wayland/hyprland/settings.nix b/modules/wms/wayland/hyprland/settings.nix index 91e7f22..46791c1 100644 --- a/modules/wms/wayland/hyprland/settings.nix +++ b/modules/wms/wayland/hyprland/settings.nix @@ -47,7 +47,7 @@ in { }; general = { - layout = "hy3"; + layout = "dwindle"; gaps_in = 0; gaps_out = 0; border_size = 2;