summaryrefslogtreecommitdiff
path: root/modules/home-manager/hypr/hyprlock.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home-manager/hypr/hyprlock.nix')
-rw-r--r--modules/home-manager/hypr/hyprlock.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/modules/home-manager/hypr/hyprlock.nix b/modules/home-manager/hypr/hyprlock.nix
new file mode 100644
index 0000000..dfaee43
--- /dev/null
+++ b/modules/home-manager/hypr/hyprlock.nix
@@ -0,0 +1,46 @@
+{ pkgs, lib, config, ... }:
+
+{
+ config = lib.mkIf config.hyprland.enable {
+ programs.hyprlock = {
+ enable = true;
+
+ settings = {
+ general = {
+ disable_loading_bar = true;
+ hide_cursor = false;
+ no_fade_in = true;
+ };
+
+ background = [
+ {
+ path = "screenshot";
+ # path = ~/.config/hypr/wallpaper_effects/.wallpaper_current;
+ blur_passes = 4;
+ blur_size = 7;
+ }
+ ];
+
+ input-field = [
+ {
+ size = "200, 50";
+ position = "0, 0";
+ fade_on_empty = false;
+ font_color = "rgb(212, 190, 152)";
+ inner_color = "rgb(29, 32, 33)";
+ outer_color = "rgb(125, 174, 163)";
+ outline_thickness = 2;
+ rounding = 0;
+ placeholder_text = "🔒🔒🔒";
+ }
+ ];
+
+ animations = [
+ {
+ enabled = false;
+ }
+ ];
+ };
+ };
+ };
+}