forked from foxora/nix
init
This commit is contained in:
commit
a07bd5fd9b
66 changed files with 6115 additions and 0 deletions
20
homes/modules/de/hyprlock/hypr/theme.conf
Normal file
20
homes/modules/de/hyprlock/hypr/theme.conf
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
input-field {
|
||||
monitor =
|
||||
|
||||
placeholder_text = Password...
|
||||
|
||||
size = 180, 42
|
||||
position = 0, 80
|
||||
outline_thickness = 2
|
||||
#shadow_passes = 2
|
||||
|
||||
font_color = rgb($colorfg)
|
||||
inner_color = rgb($colorbg)
|
||||
outer_color = rgb($color11)
|
||||
|
||||
font_family = DepartureMono Nerd Font
|
||||
|
||||
dots_center = true
|
||||
fade_on_empty = false
|
||||
}
|
||||
|
||||
41
homes/modules/de/hyprlock/hyprlock.nix
Normal file
41
homes/modules/de/hyprlock/hyprlock.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
let
|
||||
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
|
||||
# load the theme colors
|
||||
extraConfig = ''
|
||||
source = ./colors.conf
|
||||
source = ./hyprlock/theme.conf
|
||||
'';
|
||||
|
||||
settings = {
|
||||
general = {
|
||||
disable_loading_bar = true;
|
||||
hide_cursor = true;
|
||||
immediate_render = true;
|
||||
};
|
||||
|
||||
background = [
|
||||
{
|
||||
monitor = "";
|
||||
|
||||
path = "screenshot";
|
||||
blur_passes = 3;
|
||||
blur_size = 4;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# extra hyprlock config for organisation
|
||||
# writes ./hypr to ~/.config/hypr/hyprlock
|
||||
xdg.configFile."hypr/hyprlock" = {
|
||||
recursive = true;
|
||||
source = ./hypr;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue