1
1
Fork 0

hyprland: use ultrawide option for layout orientation

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-11-15 12:04:33 -06:00
parent 9cee539c33
commit 93cfe59fcc
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 5 additions and 8 deletions

View file

@ -30,16 +30,10 @@ in {
}; };
}; };
home-manager.users.${config.custom.username} = with lib; { home-manager.users.${config.custom.username} = {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
exec-once = ["${brightnessctl} set 0%"]; exec-once = ["${brightnessctl} set 0%"];
master = {
mfact = mkForce 0.5;
orientation = mkForce "left";
always_center_master = mkForce false;
};
device = [ device = [
{ {
name = "pixa3854:00-093a:0274-touchpad"; name = "pixa3854:00-093a:0274-touchpad";

View file

@ -99,7 +99,10 @@ in {
allow_small_split = true; allow_small_split = true;
always_center_master = true; always_center_master = true;
mfact = 0.5; mfact = 0.5;
orientation = "center"; orientation =
if config.custom.ultrawide
then "center"
else "top";
}; };
# https://wiki.hyprland.org/Configuring/Variables/#general # https://wiki.hyprland.org/Configuring/Variables/#general