From b91e4cde9dcf222b61e8df8553fef830311ee7ab Mon Sep 17 00:00:00 2001 From: xsghetti Date: Sat, 20 Apr 2024 15:31:30 -0400 Subject: [PATCH] add laptop settings to hyprlock --- .config/hypr/hyprlock.conf | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index fb00ea36..b6a86d33 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -79,5 +79,77 @@ label { font_family = Noto Sans position = 110, 70 halign = center + valign = centerinput-field { + monitor = DP-1 + size = 250, 50 + outline_thickness = 3 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + outer_color = $color1 + inner_color = $color0 + font_color = $color7 + fade_on_empty = true + placeholder_text = Password... # Text rendered in the input box when it's empty. + hide_input = false + position = 0, 50 + halign = center + valign = bottom +} +} + +# Laptop +input-field { + monitor = eDP-1 + size = 250, 50 + outline_thickness = 3 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + outer_color = $color1 + inner_color = $color0 + font_color = $color7 + fade_on_empty = true + placeholder_text = Password... # Text rendered in the input box when it's empty. + hide_input = false + position = 0, 60 + halign = center + valign = bottom +} + +# Current time +label { + monitor = eDP-1 + text = cmd[update:1300] echo " $(date +"%H:%M") " + color = $color7 + font_size = 64 + font_family = JetBrains Mono Nerd Font 10 + position = 0, 16 + halign = center valign = center } + +# User label +label { + monitor = eDP-1 + text = Hey $USER + color = $color7 + font_size = 20 + font_family = JetBrains Mono Nerd Font 10 + position = 0, 0 + halign = center + valign = center +} + + +# Type to unlock +label { + monitor = eDP-1 + text = Type to unlock! + color = $color7 + font_size = 16 + font_family = JetBrains Mono Nerd Font 10 + position = 0, 30 + halign = center + valign = bottom +}