diff options
| author | Max Bossing <max@bossi.ng> | 2025-07-15 21:20:49 +0200 | 
|---|---|---|
| committer | Max Bossing <max@bossi.ng> | 2025-07-15 21:20:49 +0200 | 
| commit | 432b77a28734ed6a744f40a9f1210f1a3d58d0ca (patch) | |
| tree | e19230d4ef8ff16ca5942942370b8a843d5b2dc7 /hypr/hyprlock.conf | |
init
Diffstat (limited to 'hypr/hyprlock.conf')
| -rw-r--r-- | hypr/hyprlock.conf | 124 | 
1 files changed, 124 insertions, 0 deletions
| diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf new file mode 100644 index 0000000..621b26f --- /dev/null +++ b/hypr/hyprlock.conf @@ -0,0 +1,124 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  # +# Hyprlock                                                           +# Original config submitted by https://github.com/SherLock707 + +# Sourcing colors generated by wallust +source = $HOME/.config/hypr/wallust/wallust-hyprland.conf + +general { +    grace = 1 +} + +background { +    monitor = +	#path = screenshot   # screenshot of your desktop +	path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_modified   # NOTE only png supported for now +    #color = $color7 + +    # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations +    blur_size = 5 +    blur_passes = 1 # 0 disables blurring +    noise = 0.0117 +    contrast = 1.3000 # Vibrant!!! +    brightness = 0.8000 +    vibrancy = 0.2100 +    vibrancy_darkness = 0.0 +} + +input-field { +    monitor = +    size = 250, 50 +    outline_thickness = 3 +    dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 +    dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 +    dots_center = true +    outer_color = $color5 +    inner_color = $color0 +    font_color = $color12 +    #fade_on_empty = true +    placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty. +    hide_input = false +     +    position = 0, 200 +    halign = center +    valign = bottom +} + +# Date +label { +    monitor = +    text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>" +    color = $color12 +    font_size = 34 +    font_family = JetBrains Mono Nerd Font 10 + +    position = 0, -150 +    halign = center +    valign = top +} + +# Week +label { +    monitor = +    text = cmd[update:18000000] echo "<b> "$(date +'Week %U')" </b>" +    color = $color5 +    font_size = 24 +    font_family = JetBrains Mono Nerd Font 10 +    position = 0, -250 +    halign = center +    valign = top +} + +# Time +label { +    monitor = +    #text = cmd[update:1000] echo "<b><big> $(date +"%I:%M:%S %p") </big></b>" # AM/PM +    text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H +    color = $color15 +    font_size = 94 +    font_family = JetBrains Mono Nerd Font 10 + +    position = 0, 0 +    halign = center +    valign = center +} + +# User +label { +    monitor = +    text =    $USER +    color = $color12 +    font_size = 18 +    font_family = Inter Display Medium + +    position = 0, 100 +    halign = center +    valign = bottom +} + +# weather edit specific location. Note, this cause a 2-4 seconds delay in locking +label { +    monitor = +    text = cmd[update:3600000] [ -f ~/.cache/.weather_cache ] && cat  ~/.cache/.weather_cache +    color = $color12 +    font_size = 24 +    font_family = JetBrains Mono Nerd Font 10 +    position = 50, 0 +    halign = left +    valign = bottom +} + +# Put a picture of choice here. Default is the current wallpaper +image { +    monitor = +    path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current +    size = 230 +    rounding = -1 +    border_size = 2 +    border_color = $color11 +    rotate = 0 +    reload_time = -1 +    position = 0, 300 +    halign = center +    valign = bottom +} | 
