hyprlock
This commit is contained in:
parent
a536dc27ee
commit
e97713666a
3 changed files with 37 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{ system-config, lib, ...}: {
|
{ system-config, lib, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hyprpaper.nix
|
./hyprpaper.nix
|
||||||
|
./hyprlock.nix
|
||||||
# ./hyprgrass.nix
|
# ./hyprgrass.nix
|
||||||
# ./utils.nix
|
# ./utils.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
35
home/hyprland/hyprlock.nix
Normal file
35
home/hyprland/hyprlock.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
{...}:{
|
||||||
|
programs.hyprlock = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
general = {
|
||||||
|
disable_loading_bar = true;
|
||||||
|
ignore_empty_input = true;
|
||||||
|
hide_cursor = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
background = [
|
||||||
|
{
|
||||||
|
color = "rgba(25, 20, 20, 1.0)";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
input-field = [
|
||||||
|
{
|
||||||
|
size = "200, 50";
|
||||||
|
position = "0, -80";
|
||||||
|
monitor = "";
|
||||||
|
dots_center = true;
|
||||||
|
fade_on_empty = false;
|
||||||
|
font_color = "rgb(202, 211, 245)";
|
||||||
|
inner_color = "rgb(91, 96, 120)";
|
||||||
|
outer_color = "rgb(24, 25, 38)";
|
||||||
|
outline_thickness = 5;
|
||||||
|
placeholder_text = '\'<span foreground="##cad3f5">Password...</span>'\';
|
||||||
|
shadow_passes = 2;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
VISUAL = "hx";
|
VISUAL = "hx";
|
||||||
FLAKE = "/persist/data" + conf.home + "/nixos";
|
FLAKE = "${conf.home}/nixos";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue