From 2f85e1f526ddba24ad7af612fd6deb4d94bb061b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 24 Mar 2024 02:49:51 -0400 Subject: [PATCH] hyprland: added hpyrlock config --- home/dotfiles/hyprlock.conf | 35 +++++++++++++++++++++++++++++++++++ home/hyprland.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 home/dotfiles/hyprlock.conf diff --git a/home/dotfiles/hyprlock.conf b/home/dotfiles/hyprlock.conf new file mode 100644 index 00000000..03cef52f --- /dev/null +++ b/home/dotfiles/hyprlock.conf @@ -0,0 +1,35 @@ +background { + monitor = + color = rgba(0, 0, 0, 1) +} + +input-field { + monitor = + size = 200, 50 + outline_thickness = 3 + dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = false + dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + outer_color = rgb(151515) + inner_color = rgb(200, 200, 200) + font_color = rgb(10, 10, 10) + fade_on_empty = true + fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. + placeholder_text = Input Password... # Text rendered in the input box when it's empty. + hide_input = false + rounding = -1 # -1 means complete rounding (circle/oval) + check_color = rgb(204, 136, 34) + fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + fail_text = $FAIL ($ATTEMPTS) # can be set to empty + fail_transition = 300 # transition time in ms between normal outer_color and fail_color + capslock_color = -1 + numlock_color = -1 + bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) + invert_numlock = false # change color if numlock is off + swap_font_color = false # see below + + position = 0, -20 + halign = center + valign = center +} \ No newline at end of file diff --git a/home/hyprland.nix b/home/hyprland.nix index e5ac3ce1..2ffcb4e1 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -36,6 +36,8 @@ }; xdg.configFile."hypr/hypridle.conf".source = ./dotfiles/hypridle.conf; + xdg.configFile."hypr/hyprlock.conf".source = ./dotfiles/hyprlock.conf; + programs.waybar.enable = true; programs.waybar.style = '' * {