aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHumblemonk <humblemonk@gmail.com>2025-06-30 12:25:16 -0400
committerGitHub <noreply@github.com>2025-06-30 12:25:16 -0400
commitddd606047326a669d0e8e9fdc3f1cd9888eebc83 (patch)
tree705b182637f9fa8a2f02970edb55f25cb68693b7 /config
parentd96b5df977fdb452103db65df8e69a9bd2b95d23 (diff)
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
Diffstat (limited to 'config')
-rw-r--r--config/wlogout/layout4
1 files 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
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage