feat(desktop): move lockscreen config to homes and use home-manager modules
This commit is contained in:
parent
6897ad63c9
commit
71b3703c75
4 changed files with 43 additions and 50 deletions
|
@ -9,4 +9,5 @@ let
|
|||
in
|
||||
mkMerge [
|
||||
(import ./browser.nix { inherit lib inputs system; })
|
||||
(import ./lockscreen.nix)
|
||||
]
|
||||
|
|
35
homes/x86_64-linux/rafiq/desktop/lockscreen.nix
Normal file
35
homes/x86_64-linux/rafiq/desktop/lockscreen.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
home.sessionVariables.LOCKSCREEN = "hyprlock";
|
||||
programs.hyprlock.settings = {
|
||||
general.hide_cursor = true;
|
||||
general.ignore_empty_input = true;
|
||||
|
||||
background = {
|
||||
blur_passes = 5;
|
||||
blur_size = 5;
|
||||
};
|
||||
|
||||
label = {
|
||||
text = ''hi, $USER.'';
|
||||
font_size = 32;
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
position = "0, 0";
|
||||
zindex = 1;
|
||||
shadow_passes = 5;
|
||||
shadow_size = 5;
|
||||
};
|
||||
|
||||
input-field = {
|
||||
fade_on_empty = true;
|
||||
size = "200, 45";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
position = "0, -5%";
|
||||
placeholder_text = "";
|
||||
zindex = 1;
|
||||
shadow_passes = 5;
|
||||
shadow_size = 5;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue