From 583d3f15e40bc0cd064f1dd9617b90ad12ac9605 Mon Sep 17 00:00:00 2001 From: itsscb Date: Wed, 27 Aug 2025 09:38:06 +0200 Subject: [PATCH] feat: improve lockscreen --- config/hypr/hyprlock.conf | 98 +++++++++++++++++++++++++--------- themes/rose-pine/hyprlock.conf | 8 +-- 2 files changed, 77 insertions(+), 29 deletions(-) diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index f3e81598..3465db16 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -1,37 +1,85 @@ -source = ~/.config/omarchy/current/theme/hyprlock.conf +$accent = rgb(94e2d5) +$accentAlpha = 94e2d5 +$red = rgb(f38ba8) +$redAlpha = f38ba8 +$yellow = rgb(f9e2af) +$yellowAlpha = f9e2af +$surface0 = rgb(313244) +$surface0Alpha = 313244 +$text = rgb(ffffff) +$base = rgb(000000) +$font = CaskaydiaMono Nerd Font +# GENERAL +general { + disable_loading_bar = true + hide_cursor = true +} + +# BACKGROUND background { monitor = - color = $color + path = ~/.config/omarchy/current/background + blur_passes = 2 + color = $base } -animations { - enabled = false -} - -input-field { +# TIME +label { monitor = - size = 600, 100 - position = 0, 0 + text = cmd[update:30000] echo "$(date +"%R")" + color = $text + font_size = 90 + font_family = $font + position = -30, 0 + halign = right + valign = top +} + +# DATE +label { + monitor = + text = cmd[update:43200000] echo "$(date +"%A, %d %B %Y")" + color = $text + font_size = 25 + font_family = $font + position = -30, -150 + halign = right + valign = top +} + +# USER AVATAR + +image { + monitor = + path = ~/.face + size = 100 + border_color = $accent + + position = 0, 75 halign = center valign = center +} - inner_color = $inner_color - outer_color = $outer_color +# INPUT FIELD +input-field { + monitor = + size = 300, 60 outline_thickness = 4 - - font_family = CaskaydiaMono Nerd Font - font_color = $font_color - - placeholder_text =   Enter Password 󰈷  - check_color = $check_color - fail_text = $PAMFAIL ($ATTEMPTS) - - rounding = 0 - shadow_passes = 0 + dots_size = 0.2 + dots_spacing = 0.2 + dots_center = true + outer_color = $accent + inner_color = $surface0 + font_color = $text fade_on_empty = false -} - -auth { - fingerprint:enabled = true + placeholder_text = 󰌾 + hide_input = false + check_color = $accent + fail_color = $red + fail_text = $FAIL ($ATTEMPTS) + capslock_color = $yellow + position = 0, -35 + halign = center + valign = center } diff --git a/themes/rose-pine/hyprlock.conf b/themes/rose-pine/hyprlock.conf index 890e7e5f..c88a6763 100644 --- a/themes/rose-pine/hyprlock.conf +++ b/themes/rose-pine/hyprlock.conf @@ -1,5 +1,5 @@ $color = rgba(250, 244, 237,1.0) -$inner_color = rgba(250, 244, 237,0.8) -$outer_color = rgba(57,52,79,1.0) -$font_color = rgba(57,52,79,1.0) -$check_color = rgba(136, 192, 208, 1.0) +$outer_color = rgba(250, 244, 237,0.8) +$inner_color = rgba(57,52,79,1.0) +$check_color = rgba(57,52,79,1.0) +$font_color = rgba(136, 192, 208, 1.0)