diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index 1ea71729..0d422bb2 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -1,122 +1,103 @@ -# BACKGROUND +general { + grace = 5 + hide_cursor = true + ignore_empty_input = true + text_trim = true +} + background { monitor = - path = ~/.cache/current_wallpaper.png - blur_passes = 3 + path = ~/.cache/current_wallpaper.png # only png supported for now + color = rgba(, 1.0) + blur_passes = 3 # 0 disables blurring + blur_size = 1 + noise = 0.01 contrast = 0.8916 - brightness = 0.8172 + brightness = 0.7 vibrancy = 0.1696 vibrancy_darkness = 0.0 } -# GENERAL -general { - no_fade_in = false - grace = 0 - disable_loading_bar = false -} - - -# Day-Month-Date -label { - monitor = - text = cmd[update:1000] echo -e "$(date +"%A, %B %d")" - color = rgba(216, 222, 233, 0.70) - font_size = 25 - font_family = SF Pro Display Bold - position = 0, 350 - halign = center - valign = center -} - -# Time -label { - monitor = - text = cmd[update:1000] echo "$(date +"%I:%M %P")" - color = rgba(216, 222, 233, 0.70) - font_size = 120 - font_family = SF Pro Display Bold - position = 0, 250 - halign = center - valign = center -} - -# Profie-Photo -image { - monitor = - path = ~/.face.icon - border_size = 2 - border_color = rgba(255, 255, 255, .65) - size = 130 - rounding = -1 - rotate = 0 - reload_time = -1 - reload_cmd = - position = 0, 40 - halign = center - valign = center -} - -# USER-BOX -shape { - monitor = - size = 300, 60 - color = rgba(255, 255, 255, .1) - rounding = -1 - border_size = 0 - border_color = rgba(253, 198, 135, 0) - rotate = 0 - xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation) - - position = 0, -130 - halign = center - valign = center -} - -# USER -label { - monitor = - text =  $USER - color = rgba(216, 222, 233, 0.80) - 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 = 18 - font_family = SF Pro Display Bold - position = 0, -130 - halign = center - valign = center -} - -# INPUT FIELD input-field { monitor = - size = 300, 60 - 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 + size = 200, 50 + outline_thickness = 3 + dots_size = 0.33 + dots_spacing = 0.15 dots_center = true - outer_color = rgba(0, 0, 0, 0) - inner_color = rgba(255, 255, 255, 0.1) - font_color = rgb(200, 200, 200) + dots_rounding = -1 + outer_color = rgb() + inner_color = rgb() + font_color = rgb() fade_on_empty = false - font_family = SF Pro Display Bold - placeholder_text = 🔒 Enter Pass + fade_timeout = 1000 + font_family = Product Sans + placeholder_text = $USER hide_input = false - position = 0, -210 - halign = center - valign = center -} - -# CURRENT SONG -label { - monitor = - text = cmd[update:1000] echo "$(/home/vivek/.config/hypr/scripts/songdetail.sh)" - color = rgba(255, 255, 255, 0.6) - font_size = 18 - font_family = JetBrains Mono Nerd, SF Pro Display Bold - position = 0, 50 + rounding = 4 + check_color = rgb() + fail_color = rgb() + fail_text = $FAIL ($ATTEMPTS) + fail_transition = 200 + capslock_color = -1 + numlock_color = -1 + bothlock_color = -1 + invert_numlock = false + swap_font_color = false + position = 0, 70 halign = center valign = bottom } + +# DATE +label { + monitor = + text = cmd[update:1000] echo -e "$(date +"%d %b %A")" + color = rgba(, 1.0) + font_size = 14 + font_family = JetBrains Mono Nerd Font Mono ExtraBold + position = 0, -130 + halign = center + valign = center +} + +# TIME HR +label { + monitor = + text = cmd[update:1000] echo -e "$(date +"%H")" + color = rgba(, 1.0) + shadow_pass = 2 + shadow_size = 3 + shadow_color = rgb(0,0,0) + shadow_boost = 1.2 + font_size = 150 + font_family = Product Sans Semibold + position = 0, -250 + halign = center + valign = top +} + +# TIME +label { + monitor = + text = cmd[update:1000] echo -e "$(date +"%M")" + color = rgba(, 1.0) + font_size = 150 + font_family = Product Sans Semibold + position = 0, -420 + halign = center + valign = top +} + +label { + monitor = + text = $LAYOUT + color = rgba(, 1.0) + font_size = 10 + font_family = Product Sans Semibold + position = 0, 130 + halign = center + valign = bottom + shadow_passes = 5 + shadow_size = 10 +}