hyprland: remove lockMonitorNames option

This commit is contained in:
2026-01-30 19:45:39 +01:00
parent e8cee85f7c
commit d75a711f95
2 changed files with 12 additions and 27 deletions

View File

@@ -44,16 +44,6 @@ in
description = "Extra keybinds for Hyprland";
};
lockMonitorNames = mkOption {
type = types.listOf (types.nullOr types.str);
default = [ null ];
example = [
"desc:BNQ G2420HDBL T2B04424SL000"
"desc:Samsung Electric Company LS27A600U HNMT502389"
];
description = "Monitor names for hyprlock backgrounds (null for all monitors)";
};
extraWorkspaces = mkOption {
type = types.listOf types.str;
default = [ ];
@@ -120,16 +110,18 @@ in
programs.hyprlock = {
enable = true;
settings = {
background = map (mon: {
monitor = if mon == null then "" else "desc:${mon}";
path = "screenshot";
color = "rgba(17, 17, 17, 1.0)";
blur_passes = 3;
contrast = 0.8916;
brightness = 0.8172;
vibrancy = 0.1696;
vibrancy_darkness = 0.0;
}) cfg.lockMonitorNames;
background = [
{
monitor = "";
path = "screenshot";
color = "rgba(17, 17, 17, 1.0)";
blur_passes = 3;
contrast = 0.8916;
brightness = 0.8172;
vibrancy = 0.1696;
vibrancy_darkness = 0.0;
}
];
general = {
grace = 0;