# https://wiki.hypr.land/Hypr-Ecosystem/hyprlock/ source = $HOME/.config/hypr/mocha.conf $accent = $mauve $accentAlpha = $mauveAlpha $font = JetBrainsMono Nerd Font # General general { hide_cursor = false } # Authentication # Fingerprint is disabled: GDM's login worker (pam/gdm-fingerprint) holds the # device for the whole session, so hyprlock can never claim it -- the failed # claim blocked the auth thread and made unlocks appear stuck. Fingerprint is # still available at the GDM login screen; hyprlock is password-only. auth { fingerprint { enabled = false ready_message = Scan fingerprint to unlock present_message = Scanning... retry_delay = 250 # in milliseconds } } # Background background { monitor = path = $HOME/.config/backgrounds/Dynamic-Wallpapers/Dark/kitty_dark.png blur_passes = 2 color = $base } # Time label { monitor = text = cmd[update:30000] echo "$(date +"%R")" color = $text font_size = 90 font_family = $font position = -30, 0 halign = right valign = top } # Date label { monitor = text = cmd[update:43200000] echo "$(date +'%A, %d %B %Y')" color = $text font_size = 25 font_family = $font position = -30, -150 halign = right valign = top } # Battery label { monitor = text = cmd[update:60000] $HOME/.local/bin/hyprlock-battery.sh color = $subtext1 font_size = 20 font_family = $font position = -30, -190 halign = right valign = top } # Weather label { monitor = text = cmd[update:600000] $HOME/.local/bin/weather.sh color = $subtext1 font_size = 20 font_family = $font position = -30, -215 halign = right valign = top } # User Avatar image { monitor = path = $HOME/.config/backgrounds/Purple-Star.png size = 100 border_color = $accent position = 0, 75 halign = center valign = center } # Notifications (latest mako notification; empty when none) label { monitor = text = cmd[update:5000] $HOME/.local/bin/hyprlock-notifications.sh color = $subtext0 font_size = 16 font_family = $font position = 0, 60 halign = center valign = bottom } # Input Field input-field { monitor = size = 300, 60 outline_thickness = 4 dots_size = 0.2 dots_spacing = 0.2 dots_center = true outer_color = $accent inner_color = $surface0 font_color = $text fade_on_empty = false placeholder_text = 󰌾 Logged in as $USER hide_input = false check_color = $accent fail_color = $red fail_text = $FAIL ($ATTEMPTS) capslock_color = $yellow position = 0, -35 halign = center valign = center }