aboutsummaryrefslogtreecommitdiff
path: root/hypr/hyprlock.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/hyprlock.conf')
-rw-r--r--hypr/hyprlock.conf96
1 files changed, 96 insertions, 0 deletions
diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf
new file mode 100644
index 0000000..f6bde10
--- /dev/null
+++ b/hypr/hyprlock.conf
@@ -0,0 +1,96 @@
+# https://github.com/end-4/dots-hyprland/blob/main/.config/hypr/hyprlock.conf
+
+source=~/.config/hypr/hyprlock/colors.conf
+
+background {
+ color = rgba(181818FF)
+}
+
+input-field {
+ monitor =
+ size = 250, 50
+ outline_thickness = 2
+ dots_size = 0.1
+ dots_spacing = 0.3
+ outer_color = $entry_border_color
+ inner_color = $entry_background_color
+ font_color = $entry_color
+ fade_on_empty = true
+
+ position = 0, 20
+ halign = center
+ valign = center
+}
+
+label {
+ monitor =
+ text = $LAYOUT
+ color = $text_color
+ font_size = 14
+ font_family = $font_family
+ position = -30, 30
+ halign = right
+ valign = bottom
+}
+
+label { # Caps Lock Warning
+ monitor =
+ text = cmd[update:250] ${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprlock/check-capslock.sh
+ color = $text_color
+ font_size = 13
+ font_family = $font_family
+ position = 0, -25
+ halign = center
+ valign = center
+}
+
+
+label { # Clock
+ monitor =
+ text = $TIME
+ color = $text_color
+ font_size = 65
+ font_family = $font_family_clock
+
+ position = 0, 300
+ halign = center
+ valign = center
+}
+label { # Date
+ monitor =
+ text = cmd[update:5000] date +"%A, %B %d"
+ color = $text_color
+ font_size = 17
+ font_family = $font_family_clock
+
+ position = 0, 240
+ halign = center
+ valign = center
+}
+
+label { # User
+ monitor =
+ text =  $USER
+ color = $text_color
+ outline_thickness = 2
+ dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ font_size = 20
+ font_family = $font_family
+ position = 0, 50
+ halign = center
+ valign = bottom
+}
+
+label { # Status
+ monitor =
+ text = cmd[update:5000] ${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprlock/status.sh
+ color = $text_color
+ font_size = 14
+ font_family = $font_family
+
+ position = 30, -30
+ halign = left
+ valign = top
+}