From 6a4aeec6c000ba315ec4bc2647e61a6d95081294 Mon Sep 17 00:00:00 2001 From: NotXia <35894453+NotXia@users.noreply.github.com> Date: Fri, 28 Jun 2024 13:09:59 +0200 Subject: [PATCH] Update lock command --- .config/hypr/hypridle.conf | 8 ++++---- .config/hypr/hyprland.conf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index 9147641..43cb949 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -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 -} \ No newline at end of file +} diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index bc4c64b..ee2ce19 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -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