A simple and elegant macOS desktop application that allows you to shutdown, restart, or log out of your Mac either immediately or after a specified delay.
- 🔄 Multiple Actions - Shutdown, restart, or log out your Mac
- ⏰ Delayed Execution - Set custom timers with hours, minutes, and seconds
- ⚡ Immediate Actions - Execute any action instantly
- 🔊 Sound Notifications - Audio alert before action execution
- ❌ Cancel Anytime - Stop scheduled actions before they execute
- 🎨 Native Interface - Beautiful, modern macOS design
- 🔢 Smart Input - Number-only validation for time fields
- 📱 Menu Bar - Standard macOS menus with keyboard shortcuts
Download ShutdownTimer-v1.0.dmg
- Download the DMG file
- Open the DMG and drag "ShutdownTimer.app" to your Applications folder
- Launch the app from Applications
- Grant permission when prompted (required for system control)
The first time you use the app, macOS will request permission to control System Events. This is required for shutdown/restart/logout functionality.
Grant permission in: System Settings → Privacy & Security → Automation
- Select Action: Choose Shutdown, Restart, or Log Out
- Set Timer (optional): Enter hours, minutes, and seconds
- Execute:
- Click "Start Timer" for delayed execution
- Click "Execute Now" for immediate action
- Cancel: Stop any running timer before it completes
- macOS 13.0 (Ventura) or later
- 64-bit Intel or Apple Silicon Mac
- Language: Swift
- Framework: SwiftUI
- Size: ~1.2 MB
- Architecture: Universal (Intel + Apple Silicon)
Developer: Yasser Ouaftouh
Tools: Vibe coding using Kiro
# Clone the repository
git clone https://github.com/yourusername/shutdown-timer.git
cd shutdown-timer
# Compile
swiftc -o ShutdownTimer ShutdownTimer.swift -framework SwiftUI -framework AppKit
# Create app bundle
./create_dmg.shThis project is licensed under the MIT License - see the LICENSE file for details.
See CHANGELOG.md for version history.
If you encounter any issues or have suggestions, please create an issue on the project repository.
Built with ❤️ using Kiro IDE

