pantheon/users/rafiq/modules/wm.nix
2025-03-05 06:59:49 +08:00

27 lines
743 B
Nix

{
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = false; # Required for UWSM compat
systemd.variables = ["--all"];
# Use tha packages defined in the system configuration
package = null;
portalPackage = null;
settings = {
monitor = [
"HDMI-A-2, 3840x2160@60, 0x0, 2"
"DP-4, 1920x1080@60, -1920x0, 1"
", preferred, auto, 1"
];
"$terminal" = "kitty";
"$browser" = "firefox";
"$mainMod" = "SUPER";
bind = [
"$mainMod, Q, exec, uwsm app -- $terminal"
"$mainMod, W, killactive"
"$mainMod, E, exec, uwsm app -- $browser"
"$mainMod, M, exec, uwsm stop"
];
debug.disable_logs = false;
};
};
}