aboutsummaryrefslogtreecommitdiff
path: root/hypr/hyprlock.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/hyprlock.conf')
-rw-r--r--hypr/hyprlock.conf66
1 files changed, 66 insertions, 0 deletions
diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf
new file mode 100644
index 0000000..2732dc6
--- /dev/null
+++ b/hypr/hyprlock.conf
@@ -0,0 +1,66 @@
+$font = FiraCode Nerd Font
+
+general {
+ hide_cursor = false
+}
+
+animations {
+ enabled = true
+ bezier = linear, 1, 1, 0, 0
+ animation = fadeIn, 1, 5, linear
+ animation = fadeOut, 1, 5, linear
+ animation = inputFieldDots, 1, 2, linear
+}
+
+background {
+ monitor =
+ path = screenshot
+ blur_passes = 3
+}
+
+input-field {
+ monitor =
+ size = 20%, 5%
+ outline_thickness = 3
+ inner_color = rgba(0, 0, 0, 0.0) # no fill
+
+ outer_color = rgba(79a8ffff)
+ check_color = rgba(f78fe7ff)
+ fail_color = rgba(a60000ff)
+
+ font_color = rgb(255, 255, 255)
+ fade_on_empty = false
+ rounding = 0
+
+ font_family = $font
+ placeholder_text = Input password...
+ fail_text = $PAMFAIL$FPRINTFAIL
+
+ dots_spacing = 0.3
+
+ position = 0, -20
+ halign = center
+ valign = center
+}
+
+label {
+ monitor =
+ text = $TIME # https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
+ font_size = 90
+ font_family = $font
+
+ position = -30, 0
+ halign = right
+ valign = top
+}
+
+ 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
+}
+