fix: Hyprlock
This commit is contained in:
parent
240d02a58e
commit
fa809ab749
3 changed files with 36 additions and 36 deletions
|
|
@ -7,11 +7,24 @@
|
||||||
root = nixosVista;
|
root = nixosVista;
|
||||||
cfg = root.hyprlock;
|
cfg = root.hyprlock;
|
||||||
|
|
||||||
hyprlockConfig = ''
|
|
||||||
|
in {
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# warnings = [">>> HYPRLOCK ACTIVE <<<"];
|
||||||
|
|
||||||
|
|
||||||
|
programs.hyprlock = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
disable_loading_bar = true;
|
# does not exsist:
|
||||||
grace = 0;
|
# disable_loading_bar = true;
|
||||||
|
# grace = 0;
|
||||||
hide_cursor = true;
|
hide_cursor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -84,18 +97,10 @@
|
||||||
valign = "center";
|
valign = "center";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
'';
|
|
||||||
in {
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# warnings = [">>> HYPRLOCK ACTIVE <<<"];
|
|
||||||
|
|
||||||
|
|
||||||
programs.hyprlock = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = hyprlockConfig + "\n" + cfg.extraConfig;
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
cfg = config.nixosVista;
|
cfg = config.nixosVista;
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
# warnings = [">>> fonts ACTIVE <<<"];
|
# warnings = [">>> fonts ACTIVE <<<"];
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
nerd-fonts.jetbrains-mono
|
nerd-fonts.jetbrains-mono
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,6 @@
|
||||||
preset = "default";
|
preset = "default";
|
||||||
extra = [
|
extra = [
|
||||||
# "bind = SUPER, RETURN, exec, kitty"
|
# "bind = SUPER, RETURN, exec, kitty"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -101,7 +98,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
windowRules = {
|
windowRules = {
|
||||||
preset = "default";
|
preset = "default";
|
||||||
|
|
||||||
extra = [
|
extra = [
|
||||||
|
|
@ -111,19 +108,17 @@ windowRules = {
|
||||||
"windowrule = pin 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
|
"windowrule = pin 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
|
||||||
# "windowrule = nofullscreen 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
|
# "windowrule = nofullscreen 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
customBottom = ''
|
customBottom = ''
|
||||||
input {
|
input {
|
||||||
kb_layout = de,us
|
kb_layout = de,us
|
||||||
kb_options = grp:alt_shift_toggle
|
kb_options = grp:alt_shift_toggle
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hyprlock.enable = true;
|
||||||
hyprlock.enable = true;
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
# Waybar
|
# Waybar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue