fix: monitors on muos
This commit is contained in:
parent
bd93441438
commit
84e771a523
2 changed files with 15 additions and 12 deletions
|
|
@ -27,7 +27,10 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
hyprland.enable = true;
|
hyprland = {
|
||||||
|
enable = true;
|
||||||
|
displays = [ "eDP-1, 2256x1504@60, 0x0, 1" ];
|
||||||
|
};
|
||||||
games.enable = true;
|
games.enable = true;
|
||||||
apps = {
|
apps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,15 @@ in
|
||||||
type = lib.types.package;
|
type = lib.types.package;
|
||||||
default = pkgs.xdg-desktop-portal-hyprland;
|
default = pkgs.xdg-desktop-portal-hyprland;
|
||||||
};
|
};
|
||||||
|
displays = lib.mkOption {
|
||||||
|
type = lib.types.listOf lib.types.string;
|
||||||
|
default = [
|
||||||
|
"DP-3,2560x1440@360,2560x0,1"
|
||||||
|
"DP-2,2560x1440@144,0x0,1"
|
||||||
|
"Unknown-1,disable" # NOTE: still borked on 04-06-2024
|
||||||
|
];
|
||||||
|
description = "the display layout to use";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -81,11 +90,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
package = cfg.package;
|
package = cfg.package;
|
||||||
settings = {
|
settings = {
|
||||||
monitor = [
|
monitor = cfg.displays;
|
||||||
"DP-3,2560x1440@360,2560x0,1"
|
|
||||||
"DP-2,2560x1440@144,0x0,1"
|
|
||||||
"Unknown-1,disable" # NOTE: still borked on 04-06-2024
|
|
||||||
];
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
"opacity 1.0 0.6,class:^(kitty)$"
|
"opacity 1.0 0.6,class:^(kitty)$"
|
||||||
"stayfocused,class:^(wofi)$"
|
"stayfocused,class:^(wofi)$"
|
||||||
|
|
@ -101,8 +106,7 @@ in
|
||||||
"${pkgs.dunst}/bin/dunst"
|
"${pkgs.dunst}/bin/dunst"
|
||||||
"${cfg.package}/bin/hyprctl dispatcher focusmonitor 1"
|
"${cfg.package}/bin/hyprctl dispatcher focusmonitor 1"
|
||||||
"${pkgs.keepassxc}/bin/keepassxc"
|
"${pkgs.keepassxc}/bin/keepassxc"
|
||||||
"${pkgs.planify}/bin/planify"
|
"${pkgs.planify}/bin/io.github.alainm23.planify"
|
||||||
"${pkgs.thunderbird}/bin/thunderbird"
|
|
||||||
];
|
];
|
||||||
general = {
|
general = {
|
||||||
sensitivity = "1.2";
|
sensitivity = "1.2";
|
||||||
|
|
@ -120,10 +124,6 @@ in
|
||||||
active_opacity = "1";
|
active_opacity = "1";
|
||||||
inactive_opacity = "1";
|
inactive_opacity = "1";
|
||||||
};
|
};
|
||||||
workspace = [
|
|
||||||
"DP-3,1"
|
|
||||||
"DP-2,2"
|
|
||||||
];
|
|
||||||
animations = {
|
animations = {
|
||||||
enabled = "1";
|
enabled = "1";
|
||||||
animation = [
|
animation = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue