Update lock command

This commit is contained in:
2024-06-28 13:09:59 +02:00
parent 4348d1c42b
commit 6a4aeec6c0
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
general {
lock_cmd = lockscreen
before_sleep_cmd = lockscreen
lock_cmd = hyprlock
before_sleep_cmd = hyprlock
after_sleep_cmd = hyprctl dispatch dpms on
}
@ -18,10 +18,10 @@ listener {
listener {
timeout = 330
on-timeout = lockscreen
on-timeout = hyprlock
}
listener {
timeout = 600
on-timeout = systemctl suspend
}
}

View File

@ -24,7 +24,7 @@ exec-once = fcitx5 -d &
exec-once = mako &
exec-once = bash -c "mkfifo /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob && tail -f /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob | wob & disown" &
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# exec-once = xdg-desktop-portal-hyprland &
@ -169,7 +169,7 @@ binde = , XF86MonBrightnessDown, exec, brightnessctl s 5%- && brightnessctl -m |
# Lock screen
bind = , XF86PowerOff, exec, lockscreen
bind = , XF86PowerOff, exec, hyprlock
# Reload