From 84af10af8ce1ff6d760d7a2993dcc37a7c0b9f2b Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Sat, 4 May 2024 13:59:21 -0500 Subject: [PATCH] + hyprlock --- dots/hyprlock/hyprlock.conf | 44 +++++++++++++++++++++++++++++++++++++ scripts/99_deploy.sh | 5 +++++ 2 files changed, 49 insertions(+) create mode 100644 dots/hyprlock/hyprlock.conf diff --git a/dots/hyprlock/hyprlock.conf b/dots/hyprlock/hyprlock.conf new file mode 100644 index 0000000..ce80315 --- /dev/null +++ b/dots/hyprlock/hyprlock.conf @@ -0,0 +1,44 @@ +background { + monitor = + path = ~/.local/wp/3840x2160_retroSunsetDreamscape_backiee-285012-landscape.png # only png supported for now + color = rgba(25, 20, 20, 1.0) + + # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations + blur_passes = 0 # 0 disables blurring + blur_size = 7 + noise = 0.0117 + contrast = 0.8916 + brightness = 0.8172 + vibrancy = 0.1696 + vibrancy_darkness = 0.0 +} + +input-field { + monitor = + size = 200, 50 + outline_thickness = 1 + 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 = true + dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + outer_color = rgb(253, 168, 47) + inner_color = rgb(30, 28, 50) + font_color = rgb(255, 94, 84) + 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 = rgb(255, 255, 0) # -1 for no change + numlock_color = rgb(0, 255, 0) + bothlock_color = rgb(255, 255, 255) # when both locks are active. -1 means don't change outer color (same for above) + invert_numlock = false # change color if numlock is off + + position = 0, -20 + halign = center + valign = center +} diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 17d522f..458b9c7 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -170,6 +170,11 @@ if [ ${operation} == "dots" ] ; then file_path=/home/${user}/.config/hypr deploy_file ${dots_trg}/hyprland/${file_name} ${file_path}/${file_name} + # hyprlock + file_name=hyprlock.conf + file_path=/home/${user}/.config/hypr + deploy_file ${dots_trg}/hyprlock/${file_name} ${file_path}/${file_name} + # hyprpaper file_name=hyprpaper.conf file_path=/home/${user}/.config/hypr