init
This commit is contained in:
83
home/hyprlock.nix
Normal file
83
home/hyprlock.nix
Normal file
@@ -0,0 +1,83 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
source = "~/.config/hypr/hyprlock-colors.conf";
|
||||
|
||||
general = {
|
||||
immediate_render = true;
|
||||
hide_cursor = true;
|
||||
no_fade_in = false;
|
||||
};
|
||||
|
||||
background = [{
|
||||
monitor = "";
|
||||
path = "${config.home.homeDirectory}/nixos/wallpaper/current_wallpaper";
|
||||
color = "$background";
|
||||
|
||||
blur_passes = 3;
|
||||
blur_size = 8;
|
||||
noise = 0.0117;
|
||||
contrast = 0.8916;
|
||||
brightness = 0.8172;
|
||||
vibrancy = 0.1696;
|
||||
}];
|
||||
|
||||
input-field = [{
|
||||
monitor = "";
|
||||
size = "300, 30";
|
||||
outline_thickness = 0;
|
||||
dots_size = 0.25;
|
||||
dots_spacing = 0.55;
|
||||
dots_center = true;
|
||||
|
||||
outer_color = "rgba(0, 0, 0, 0)";
|
||||
inner_color = "rgba(0, 0, 0, 0.2)";
|
||||
font_color = "$foreground";
|
||||
|
||||
fade_on_empty = false;
|
||||
placeholder_text = "Enter Password";
|
||||
hide_input = false;
|
||||
|
||||
position = "0, -468";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}];
|
||||
|
||||
label = [
|
||||
{
|
||||
monitor = "";
|
||||
text = "$TIME";
|
||||
color = "$primary";
|
||||
font_size = 93;
|
||||
font_family = "JetBrainsMono Nerd Font Bold";
|
||||
position = "0, 310";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
{
|
||||
monitor = "";
|
||||
text = "cmd[update:1000] echo \"$(date +'%A, %B %d')\"";
|
||||
color = "$foreground";
|
||||
font_size = 20;
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
position = "0, 405";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
{
|
||||
monitor = "";
|
||||
text = "Nils";
|
||||
color = "$foreground";
|
||||
font_size = 12;
|
||||
font_family = "JetBrainsMono Nerd Font Bold";
|
||||
position = "0, -407";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user