From 9e3bd58cf4041052d3fcec0191df3c828f56cfc4 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 5 Dec 2025 19:00:39 +0000 Subject: [PATCH] hyprshutdown: add mention of post-cmd --- content/Hypr Ecosystem/hyprshutdown.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/Hypr Ecosystem/hyprshutdown.md b/content/Hypr Ecosystem/hyprshutdown.md index 9d71d50d..3b9e85de 100644 --- a/content/Hypr Ecosystem/hyprshutdown.md +++ b/content/Hypr Ecosystem/hyprshutdown.md @@ -6,3 +6,13 @@ title: hyprshutdown [hyprshutdown](https://github.com/hyprwm/hyprshutdown) is a graceful shutdown utility. It opens a GUI and gracefully asks apps to exit, then quits Hyprland. It's the recommended way to exit hyprland, as otherwise (e.g. `dispatch exit`) apps will die instead of exiting. + +## Tips and tricks + +If you want to shut the system down, or reboot, instead of logging out, you can do things like this: + +```sh +hyprshutdown -t 'Shutting down...' --post-cmd 'shutdown -P 0' + +hyprshutdown -t 'Restarting...' --post-cmd 'reboot' +```