hyprland: use ultrawide option for layout orientation
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
9cee539c33
commit
93cfe59fcc
2 changed files with 5 additions and 8 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue