mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2026-05-08 16:48:13 +02:00
hyprshutdown: add mention of post-cmd
This commit is contained in:
parent
7b97b11a34
commit
9e3bd58cf4
1 changed files with 10 additions and 0 deletions
|
|
@ -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'
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue