diff --git a/machines/myork/default.nix b/machines/myork/default.nix index 39a4401..91caaf5 100644 --- a/machines/myork/default.nix +++ b/machines/myork/default.nix @@ -30,16 +30,10 @@ in { }; }; - home-manager.users.${config.custom.username} = with lib; { + home-manager.users.${config.custom.username} = { wayland.windowManager.hyprland.settings = { exec-once = ["${brightnessctl} set 0%"]; - master = { - mfact = mkForce 0.5; - orientation = mkForce "left"; - always_center_master = mkForce false; - }; - device = [ { name = "pixa3854:00-093a:0274-touchpad"; diff --git a/options/custom/desktops/hyprland/settings.nix b/options/custom/desktops/hyprland/settings.nix index 9a1c272..5afa8a3 100644 --- a/options/custom/desktops/hyprland/settings.nix +++ b/options/custom/desktops/hyprland/settings.nix @@ -99,7 +99,10 @@ in { allow_small_split = true; always_center_master = true; mfact = 0.5; - orientation = "center"; + orientation = + if config.custom.ultrawide + then "center" + else "top"; }; # https://wiki.hyprland.org/Configuring/Variables/#general