Fix hypridle+hyprlock issue on nvidia

This commit is contained in:
SebastianStork 2024-07-18 23:46:31 +02:00
parent 7990389ddb
commit 981792d7ef
3 changed files with 5 additions and 3 deletions

View file

@ -10,7 +10,6 @@
hypridle-config = pkgs.writeText "hypridle-config" ''
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}
listener {

View file

@ -8,6 +8,9 @@
flags =
let
hyprlock-config = pkgs.writeText "hyprlock-config" ''
general {
no_fade_in = true
}
background {
monitor =
path = screenshot