From aa1c447d41b2f6a93735b2b43a8ab5ce84b83443 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 21 Jun 2023 01:40:31 -0400 Subject: [PATCH] Setup master layout --- home-manager/linux/programs/hyprland.nix | 7 +++++-- machines/levitation/home.nix | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/home-manager/linux/programs/hyprland.nix b/home-manager/linux/programs/hyprland.nix index 1c7c523..9bbe53d 100644 --- a/home-manager/linux/programs/hyprland.nix +++ b/home-manager/linux/programs/hyprland.nix @@ -87,7 +87,6 @@ in with lib; { } master { - mfact = 0.75 new_is_master = false } @@ -111,17 +110,21 @@ in with lib; { bind = SUPER, H, movefocus, l bind = SUPER, L, movefocus, r bind = SUPER, K, movefocus, u + bind = SUPER, K, layoutmsg, focusnext bind = SUPER, J, movefocus, d + bind = SUPER, J, layoutmsg, focusprev # Move windows with mainMod + arrow keys bind = SUPER SHIFT, H, movewindow, l bind = SUPER SHIFT, L, movewindow, r bind = SUPER SHIFT, K, movewindow, u + bind = SUPER SHIFT, K, layoutmsg, swapnext bind = SUPER SHIFT, J, movewindow, d + bind = SUPER SHIFT, J, layoutmsg, swapprev # Switch layouts with a mode bind = SUPER, S, submap, layout - submap=resize + submap=layout # dwindle bind = , A, exec, hyprctl keyword general:layout dwindle bind = , A, submap, reset diff --git a/machines/levitation/home.nix b/machines/levitation/home.nix index 88ed6e3..5b1f329 100644 --- a/machines/levitation/home.nix +++ b/machines/levitation/home.nix @@ -26,8 +26,12 @@ sensitivity = -0.8 # accel_profile = flat } + master { + mfact = 0.68 + } exec-once=hyprpaper ''; + ################################################################################ # Background xdg.configFile."hypr/hyprpaper.conf" = {