From 0a5771ff80e7c527a4c82b680cf6cd923c691407 Mon Sep 17 00:00:00 2001 From: joy Date: Sat, 17 Aug 2024 14:47:05 +0200 Subject: [PATCH] hyprlock --- home/hypridle/default.nix | 5 ----- home/hyprlock/default.nix | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/home/hypridle/default.nix b/home/hypridle/default.nix index 6588c39..1d02f4b 100644 --- a/home/hypridle/default.nix +++ b/home/hypridle/default.nix @@ -3,11 +3,6 @@ services.hypridle = { enable = true; settings = { - general = [ - { - ignore_dbus_inhibit = false; - } - ]; listener = [ { timeout = 600; diff --git a/home/hyprlock/default.nix b/home/hyprlock/default.nix index 78dabf1..fe48c4a 100644 --- a/home/hyprlock/default.nix +++ b/home/hyprlock/default.nix @@ -2,7 +2,35 @@ { programs.hyprlock = { enable = true; - # settings = { - # }; - }; + settings = { + general = { + grace = 300; + hide_cursor = true; + no_fade_in = false; + }; + + background = [ + { + path = "screenshot"; + blur_passes = 3; + blur_size = 8; + } + ]; + + input-field = [ + { + size = "200, 50"; + position = "0, -80"; + monitor = ""; + dots_center = true; + fade_on_empty = false; + font_color = "rgb(209, 193, 158)"; + inner_color = "rgb(40, 40, 40)"; + outer_color = "rgb(69, 133, 136)"; + outline_thickness = 5; + shadow_passes = 2; + } + ]; + }; + }; }