diff options
| author | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2025-12-16 13:27:11 -0500 |
|---|---|---|
| committer | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2025-12-16 13:27:11 -0500 |
| commit | 5a41da5881a11ba3fdc3890c342aa3b7eb53e0cf (patch) | |
| tree | 92b7f7af29ed4a9dcc0eab33490c6225cce9b14a /hyprland/dot-config/hypr/hyprlock.conf | |
| parent | 856e361d56c201cbb1b1521c8b93b747163b1376 (diff) | |
add initial version (incomplete)
Diffstat (limited to 'hyprland/dot-config/hypr/hyprlock.conf')
| -rw-r--r-- | hyprland/dot-config/hypr/hyprlock.conf | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/hyprland/dot-config/hypr/hyprlock.conf b/hyprland/dot-config/hypr/hyprlock.conf new file mode 100644 index 0000000..9df3e67 --- /dev/null +++ b/hyprland/dot-config/hypr/hyprlock.conf @@ -0,0 +1,76 @@ +$font = Hack + +general { + hide_cursor = true +} + +auth { + fingerprint:enabled = true +} + +animations { + enabled = false +} + +background { + color = rgba(0, 0, 0, 1.0) +} + +input-field { + size = 500, 90 + outline_thickness = 3 + inner_color = rgba(0, 0, 0, 0.0) + + 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 = <span>Enter Password </span> + fail_text = $PAMFAIL + + dots_spacing = 0.3 + + position = 0, -20 + halign = center + valign = center +} + +# TIME +label { + monitor = + text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution + font_size = 90 + font_family = $font + + position = -30, 0 + halign = right + valign = top +} + +# 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 +} + +label { + monitor = + text = $LAYOUT[en,ir] + font_size = 24 + onclick = hyprctl switchxkblayout all next + + position = 300, -20 + halign = center + valign = center +} |
