HYPRSHUTDOWN(1)
π HYPRSHUTDOWN(1) π
okay bestie, so this is the manual page for hyprshutdown β a graceful shutdown utility for Hyprland β living in the General Commands Manual</> / User Commands</> section (section 1, iykyk). let's get into it π«Ά
β¨ NAME β¨
hyprshutdown β graceful shutdown utility for Hyprland πΈ
β¨ SYNOPSIS β¨
hyprshutdown [OPTION]...
β¨ DESCRIPTION β¨
so hyprshutdown is a graceful shutdown utility for the Hyprland Wayland compositor. it pops open a GUI dialog and, like, politely asks all your running apps to exit β then quits Hyprland. no drama, no chaos, just vibes π
this is the recommended way to exit Hyprland, fr fr. if you use other methods (looking at you, dispatch exit) your applications get forcefully killed instead of being given the opportunity to exit cleanly. and not to be dramatic but that's giving crash energy π
β¨ OPTIONS β¨
--vt Nβ switch to virtual terminal N after Hyprland exits. super useful on NVIDIA + SDDM systems to prevent a black screen or a hang on logout π--dry-runβ show the shutdown UI without actually closing any applications or exiting Hyprland. a little dress rehearsal, no consequences π--no-exitβ close applications gracefully but do not exit Hyprland afterwards π¦--top-label,-t TEXTβ set custom text to display at the top of the shutdown dialog β¨--post-cmd,-p COMMANDβ runCOMMANDafter Hyprland has exited. can be used to power off or reboot the system π₯--no-forkβ run in the foreground instead of daemonizing πΈ--verboseβ enable debug logging. for when you need to know everything π--help,-hβ show a help message and exit π
β¨ EXAMPLES β¨
log out of Hyprland:
hyprshutdown
shut the system down after closing apps:
hyprshutdown -t 'Shutting down...' --post-cmd 'shutdown -P 0'
reboot the system after closing apps:
hyprshutdown -t 'Restarting...' --post-cmd 'reboot'
preview the dialog without doing anything:
hyprshutdown --dry-run
β¨ NVIDIA + SDDM USERS β¨
okay this one's for the NVIDIA + SDDM girlies specifically π if you experience a black screen or a hang when logging out with an NVIDIA GPU and the SDDM display manager, use the --vt flag to force a virtual terminal switch after exit:
hyprshutdown --vt 2
SDDM typically runs on VT2 β so check your system configuration if you need a different terminal. no guessing, bestie π
the VT switch is performed via chvt(1) and it requires passwordless sudo access for that command. to configure this, run:
echo "$USER ALL=(ALL) NOPASSWD: /usr/bin/chvt" | sudo tee /etc/sudoers.d/chvt
sudo chmod 440 /etc/sudoers.d/chvt
this is considered safe because chvt only switches virtual terminals and cannot be exploited for privilege escalation. slay π
β οΈ reminder bestie: that sudoers setup is what makes the--vtswitch work at all. no passwordlesschvt, no auto VT switch. periodt.
β¨ SEE ALSO β¨
hyprland(1), chvt(1), shutdown(8), reboot(8) π
β¨ AUTHORS β¨
this manual page was written for the Debian project based on the Hyprland wiki at https://wiki.hyprland.org. π«Ά
aaaand that's the whole page, bestie β hyprshutdown(1), section 1, shipped under the General Commands Manual</> / User Commands</> umbrella as part of Debian's manual pages. go forth and log out gracefully, you main character πβ¨π
π¦ where this page comes from
- ubuntu stonking: hyprshutdown 0.1.1-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms