hyprland: remove lockMonitorNames option
This commit is contained in:
@@ -79,13 +79,6 @@
|
|||||||
"$mon_right" = "desc:Samsung Electric Company LS27A600U HNMT502390";
|
"$mon_right" = "desc:Samsung Electric Company LS27A600U HNMT502390";
|
||||||
};
|
};
|
||||||
|
|
||||||
hyprland.lockMonitorNames = [
|
|
||||||
"BNQ G2420HDBL T2B04424SL000"
|
|
||||||
"Samsung Electric Company LS27A600U HNMT502389"
|
|
||||||
"Acer Technologies XB271HU #ASPVEKfgZ8Dd"
|
|
||||||
"Samsung Electric Company LS27A600U HNMT502390"
|
|
||||||
];
|
|
||||||
|
|
||||||
hyprland.extraKeybinds = [
|
hyprland.extraKeybinds = [
|
||||||
"$mainMod,Print,exec,grimblast save active ~/tmp/$(date -Iseconds).png"
|
"$mainMod,Print,exec,grimblast save active ~/tmp/$(date -Iseconds).png"
|
||||||
"$shiftMainMod,Print,exec,grimblast copy area"
|
"$shiftMainMod,Print,exec,grimblast copy area"
|
||||||
|
|||||||
@@ -44,16 +44,6 @@ in
|
|||||||
description = "Extra keybinds for Hyprland";
|
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 {
|
extraWorkspaces = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
@@ -120,16 +110,18 @@ in
|
|||||||
programs.hyprlock = {
|
programs.hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
background = map (mon: {
|
background = [
|
||||||
monitor = if mon == null then "" else "desc:${mon}";
|
{
|
||||||
path = "screenshot";
|
monitor = "";
|
||||||
color = "rgba(17, 17, 17, 1.0)";
|
path = "screenshot";
|
||||||
blur_passes = 3;
|
color = "rgba(17, 17, 17, 1.0)";
|
||||||
contrast = 0.8916;
|
blur_passes = 3;
|
||||||
brightness = 0.8172;
|
contrast = 0.8916;
|
||||||
vibrancy = 0.1696;
|
brightness = 0.8172;
|
||||||
vibrancy_darkness = 0.0;
|
vibrancy = 0.1696;
|
||||||
}) cfg.lockMonitorNames;
|
vibrancy_darkness = 0.0;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
grace = 0;
|
grace = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user