shutd is a modern C++ command-line utility designed for Linux systems (tested on Arch Linux) that wraps the native shutdown and reboot commands with a clear, interactive countdown interface.
Instead of running a silent system command, shutd provides real-time visual feedback through a clean terminal UI, helping users clearly see how much time remains before the system powers off or reboots.
✨ Key Features
Live Countdown Timer
Displays a continuously updating MM:SS timer using a single-line refresh technique.
Adaptive Progress Gauge
A dynamic progress bar that automatically adjusts to your terminal width.
Visual Alert System
Final 10 seconds trigger a red blinking warning for better awareness.
Clean Retro UI
Uses Unicode box-drawing characters to create a structured, dialog-style interface reminiscent of classic system tools.
Safe Interrupt Handling
Features
- A clearer alternative to traditional shutdown commands
- Desktop notifications before shutdown