From 84c265ff6fbf969ae1c813f80258c834e394ce31 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:06:32 +0530 Subject: [PATCH] wl-logout/layout: no need to invoke hyprlock seperately invoking hyprlock before systemctl seem to hang the "process of hibernate/suspend" password needs to be entered then it will invoke systemctl hibernate/suspend so, no need to invoke hyprlock seperately remove comments as wl-logout does not support "comments", it fail to start with comments --- config/wlogout/layout | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/wlogout/layout b/config/wlogout/layout index 9559fee..ea46874 100644 --- a/config/wlogout/layout +++ b/config/wlogout/layout @@ -24,15 +24,13 @@ } { "label" : "suspend", - // "action" : "swaylock -f && systemctl suspend", - "action" : "hyprlock --immediate && systemctl suspend", + "action" : "systemctl suspend", "text" : "Suspend", "keybind" : "u" } { "label" : "hibernate", - // "action" : "swaylock -f && systemctl hibernate", - "action" : "hyprlock --immediate && systemctl hibernate", + "action" : "systemctl hibernate", "text" : "Hibernate", "keybind" : "h" } \ No newline at end of file