Vendor the command set the menu and shell depend on

This commit is contained in:
2026-09-19 23:57:12 -04:00
parent 9501f2bb4d
commit c5434026a8
179 changed files with 12414 additions and 54 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# blob:summary=Shut down after closing application windows
# blob:examples=blob shutdown | blob system shutdown
# blob:aliases=blob shutdown
# Schedule the shutdown in the user manager so closing the terminal's systemd
# scope cannot terminate it before it runs.
systemd-run --user --collect --quiet --on-active="2s" --timer-property=AccuracySec=100ms systemctl poweroff --no-wall || exit 1
blob-osd -i shutdown -m "Shutting down" -d 5000
blob-state clear re*-required
# Now close all windows
blob-hypr-window-close-all
sleep 1 # Allow apps like Chrome to shutdown correctly