You are not logged in.
My Hyprlock 9/10 times will only display partially on top of my desktop and is unclickable and nothing else works . Trying to fix the Hyprlock via the commands that are done when Hyprlock shows Oops error doesn't work either . I am attaching my hypridle and hyprlock configs below
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })'
inhibit_sleep = 3
}
listener {
timeout = 300
on-timeout = [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] && asusctl leds set off
on-resume = asusctl leds set high
}
listener {
timeout = 300
on-timeout = brightnessctl -s && [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] && brightnessctl set 0
on-resume = brightnessctl --restore
}
listener {
timeout = 900
on-timeout = [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] && loginctl lock-session
on-resume = brightnessctl --restore
}
listener {
timeout = 1200
on-timeout = [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] && hyprctl dispatch dpms off
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' && brightnessctl -r
}
listener {
timeout = 1800
on-timeout = [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] && systemctl suspend-then-hibernate
on-resume = brightnessctl --restore
}
################## PLUGGED IN ##################
listener {
timeout = 900
on-timeout = [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] || asusctl leds set off
on-resume = asusctl leds set high
}
listener {
timeout = 900
on-timeout = brightnessctl -s && [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] || brightnessctl set 0
on-resume = brightnessctl --restore
}
listener {
timeout = 1500
on-timeout = [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] || loginctl lock-session
on-resume = brightnessctl --restore
}
listener {
timeout = 1800
on-timeout = [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] || hyprctl dispatch dpms off
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' && brightnessctl -r
}
listener {
timeout = 2700
on-timeout = [ "$(upower -i "$(upower -e | grep BAT)" | grep '^ *state' | awk '{print $2}')" = "discharging" ] || systemctl suspend-then-hibernate
on-resume = brightnessctl --restore
}
########### HYPRLOCK ###########
background {
path = ~/Pictures/Wallpaper/Lockscreen/MOTIS Upscaled.png
}
image {
monitor = eDP-1
path = /home/dark/Pictures/Profile Pics/Gojo.png
size = 80
rounding = -1
border_size = 0
position = 30, 30
halign = left
valign = bottom
}
input-field {
monitor = eDP-1
size = 20%, 5%
outline_thickness = 3
outer_color = rgba(39FF14FF) rgba(3A00FFFF) rgba(39FF14FF) rgba(D0FF00FF) 15deg
inner_color = rgba(255, 255, 255, 0.3)
check_color = rgb(00ffff)
fail_color = rgb(ff0000)
font_color = rgb(0, 0, 0)
fade_on_empty = true
fade_timeout = 2000
placeholder_text =
rounding = 15
fail_text = Wrong Password
position = 0, -200
halign = center
valign = center
}
label {
monitor = eDP-1
text = $TIME12
font_size = 32
color = rgb(255, 0, 0)
position = -50, 400
}
label {
monitor = HDMI-A-1
text = $TIME12
font_size = 32
position = 0, 300
}
label {
monitor = eDP-1
text = $ATTEMPTS
color = rgba(255,0,0,1)
font_size = 32
halign = left
valign = bottom
}
Offline
Nvidia?
If so, see:
• https://github.com/hyprwm/hyprlock/issues/1030
Also
• https://github.com/hyprwm/Hyprland/discussions/15590
And peruse the slew of fail-on-suspend/resume bugs in hyprlock git:
Offline
I think the issue is happening because of latest Hyprland version . I should wait till next update
Offline