From ddd606047326a669d0e8e9fdc3f1cd9888eebc83 Mon Sep 17 00:00:00 2001 From: Humblemonk Date: Mon, 30 Jun 2025 12:25:16 -0400 Subject: Update the logout command used by wlogout Minor change to the logout action of wlogout. hyprctl dispatch exit 0 is Hyprland's native logout command. It: - Properly terminates the Hyprland compositor - Allows Hyprland to clean up its resources and state - Handles window cleanup gracefully - Is the intended way to exit according to Hyprland's design This change resolved my issue where clicking on logout could sometimes hardlock my environment and require a forced reboot --- config/wlogout/layout | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/wlogout/layout b/config/wlogout/layout index ea468745..bcebbf44 100644 --- a/config/wlogout/layout +++ b/config/wlogout/layout @@ -18,7 +18,7 @@ } { "label" : "logout", - "action" : "loginctl kill-session $XDG_SESSION_ID", + "action" : "hyprctl dispatch exit 0", "text" : "Logout", "keybind" : "e" } @@ -33,4 +33,4 @@ "action" : "systemctl hibernate", "text" : "Hibernate", "keybind" : "h" -} \ No newline at end of file +} -- cgit v1.2.3