hyprlock: [Bug] Hyprlock after sometime auto unlock and can't be use anymore

After some time (10 minutes or so), hyprlock auto unlock and when I try hyprlock again, it returns this.

[LOG] [core] dmabufFeedbackMainDevice
[LOG] output 52 make LG Display model 0x05FE
[LOG] output 52 name eDP-1
[LOG] output 52 description LG Display 0x05FE (eDP-1)
[LOG] output 52 done
[LOG] Running on Hyprland
[LOG] Locking session
[ERR] Pam module "hyprlock" not found! Falling back to "su"
[WARN] Extension: .png
[LOG] eglQueryDmaBufModifiersEXT found 8 mods
[LOG] bo chose modifier 0
[LOG] onLockFinished called. Seems we got yeeten. Is another lockscreen running?
[LOG] Got dma frame with size [Vector2D: x: 1920, y: 1080]
[LOG] PAM_PROMPT: Password:

hyprlock.conf

source = $HOME/.cache/wal/colors-hyprland

general {
    grace = 1
}

background {
    monitor =
	path = screenshot   # screenshot of your desktop
	# path = $HOME/.config/rofi/.current_wallpaper   # 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 = 4
    blur_passes = 2 # 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 = $color1
    inner_color = $color0
    font_color = $color7
    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 = $color5
    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 = $color7
    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 = $color7
    font_size = 94
    font_family = JetBrains Mono Nerd Font 10

    position = 0, 0
    halign = center
    valign = center
}

label {
    monitor =
    text =    $USER
    color = $color7
    font_size = 18
    font_family = Inter Display Medium

    position = 0, 100
    halign = center
    valign = bottom
}

label {
    monitor =
    text = cmd[update:60000] echo "<b> "$(uptime -p)" </b>"
    color = $color12
    font_size = 24
    font_family = JetBrains Mono Nerd Font 10
    position = 0, 0
    halign = right
    valign = bottom
}

image {
    monitor =
    path = $HOME/.config/rofi/.current_wallpaper
    size = 230
    rounding = -1
    border_size = 4
    border_color = $color12
    rotate = 0
    reload_time = -1
    position = 0, 300
    halign = center
    valign = bottom
}

About this issue

  • Original URL
  • State: closed
  • Created 2 months ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

Hello @Mr-Ples, can you test if this problem happens with swaylock.

Yeah swaylock also unlocks itself after a few minutes (but the process isn’t killed its still running, same with hyprlock)