From f81a8acfee5f78553761ae543271623682a39f86 Mon Sep 17 00:00:00 2001 From: pika Date: Thu, 15 May 2025 18:46:36 +0200 Subject: [PATCH] addet nice hyprlock config --- hyprlock.conf | 105 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 98 insertions(+), 7 deletions(-) diff --git a/hyprlock.conf b/hyprlock.conf index a9dd376..ea30a9b 100644 --- a/hyprlock.conf +++ b/hyprlock.conf @@ -1,12 +1,14 @@ +$font = CaskaydiaCove Nerd Font Mono +# $font = JetBrainsMono Nerd Font + general { grace = 0 + hide_cursor = false } background { monitor = path = screenshot # screenshot of your desktop - # path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_modified # NOTE only png supported for now - #color = $color7 # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations blur_size = 8 @@ -25,14 +27,103 @@ input-field { 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 - # outer_color = $color5 - # inner_color = $color0 - # font_color = $color12 - #fade_on_empty = true + fade_on_empty = true placeholder_text = Password... # Text rendered in the input box when it's empty. hide_input = false position = 0, 200 halign = center valign = bottom -} \ No newline at end of file + inner_color = rgba(0, 0, 0, 0.0) # no fill + outer_color = rgba(555555ff) + font_color = rgba(392e89cf) +} + +# input-field { +# monitor = +# size = 20%, 5% +# outline_thickness = 3 +# inner_color = rgba(0, 0, 0, 0.0) # no fill +# +# outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg +# check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg +# fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg +# +# font_color = rgb(143, 143, 143) +# fade_on_empty = false +# rounding = 15 +# +# font_family = $font +# placeholder_text = Input password... +# fail_text = $PAMFAIL +# +# # uncomment to use a letter instead of a dot to indicate the typed password +# # dots_text_format = * +# # dots_size = 0.4 +# dots_spacing = 0.3 +# +# # uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator) +# # hide_input = true +# +# position = 0, -20 +# halign = center +# valign = center +# } + +# ╭──────╮ +# │ Time │ +# ╰──────╯ +label { + monitor = + #text = cmd[update:1000] echo " $(date +"%I:%M:%S %p") " # AM/PM + text = cmd[update:1000] echo " $(date +"%H:%M:%S") " # 24H + color = rgba(392e89ff) + font_size = 94 + font_family = $font + + position = 0, 0 + halign = center + valign = center +} + +# DATE +label { + monitor = + text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds + font_size = 25 + font_family = $font + + position = -30, -150 + halign = right + valign = top +} + +# uncomment to enable fingerprint authentication +# auth { +# fingerprint { +# enabled = true +# ready_message = Scan fingerprint to unlock +# present_message = Scanning... +# retry_delay = 250 # in milliseconds +# } +# } + + +# sample hyprlock.conf +# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock +# +# rendered text in all widgets supports pango markup (e.g. or tags) +# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks +# +# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace +# +# you can get started by copying this config to ~/.config/hypr/hyprlock.conf +# + +animations { + enabled = true + bezier = linear, 1, 0.1, 0, 0 + animation = fadeIn, 1, 0.5, linear + animation = fadeOut, 1, 0.5, linear + animation = inputFieldDots, 1, 0.2, linear +}