this post was submitted on 19 Feb 2025
3 points (80.0% liked)

Hyprland Desktop Environment

377 readers
5 users here now

An (unnoficial) Hyprland Community in the new Land!
You can share and help each other when using Hyprland here.. :)

Resources:

founded 2 years ago
MODERATORS
 
general {
  after_sleep_cmd=hyprctl dispatch dpms on
  before_sleep_cmd=loginctl lock-session
  lock_cmd=hyprlock
}

listener {
  on-timeout=loginctl lock-session
  timeout=300
}

listener {
  on-resume=hyprctl dispatch dpms on
  on-timeout=hyprctl dispatch dpms off
  timeout=330
}

listener {
  on-timeout=systemctl suspend
  timeout=600
}

Guys I feel like there's something wrong or odd in this config, cuz, I don't know whats responsible for this but, it looks like things aren't working well together, I said it looks like cuz I never caugth an actual error. So what happens is that after I leave my laptop idle, the hypridle starts doing its thing and most of the times it works, my laptop is suspended, hyprlock works etc, but sometimes, after I press any button on my keyboard to wake my laptop, I can see that my laptop is up, but all I can see is black screen, and then I have to hard shutdown the laptop, so somethings is not adding up here.

you are viewing a single comment's thread
view the rest of the comments
[–] FauxLiving 1 points 6 days ago* (last edited 6 days ago)

This problem happens with my display connected to an NVIDIA card. I just made a hotkey that edits the Monitors entry for that display which triggers Hyprland to re-read the configuration and activate the monitor.

You should still be able to get to a virtual terminal (Ctrl + Alt + [F1-F6] so you can do this manually.