update yazi config

This commit is contained in:
Alexander Navarro 2026-01-09 14:14:16 -03:00
parent ced3795edf
commit f357ee61fa
6 changed files with 58 additions and 45 deletions

View file

@ -1,7 +1,7 @@
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = niri msg action power-on-monitors # to avoid having to press a key twice to turn on the display.
lock_cmd = qs -c noctalia-shell ipc call lockScreen lock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = niri msg action power-on-monitors # to avoid having to press a key twice to turn on the display.
}
listener {
@ -23,7 +23,7 @@ listener {
}
listener {
timeout = 330 # 5.5min
timeout = 600 # 5.5min
on-timeout = niri msg action power-off-monitors # screen off when timeout has passed
on-resume = niri msg action power-on-monitors && brightnessctl -r # screen on when activity is detected after timeout has fired.
}