A sleek and minimalist desktop digital clock widget built with Python and Tkinter. Perfect for keeping track of time with a clean, modern interface that sits elegantly on your desktop.
- ⏰ Real-time Display: Shows current time with hours, minutes, and seconds
- 🌙 AM/PM Format: Clear 12-hour time format with AM/PM indicator
- 🎨 Modern Design: Clean blue-on-dark aesthetic that's easy on the eyes
- 📱 Compact Widget: Minimal footprint on your desktop
- ⚡ Lightweight: Uses minimal system resources
- 🔄 Auto-updating: Time updates automatically every second
- 🖥️ Always on Top: Optional setting to keep clock visible above other windows
- 📐 Resizable: Adjustable window size to fit your desktop layout
- 🐍 Python: Core programming language
- 🖥️ Tkinter: GUI framework for the desktop widget
- ⏱️ Time: Built-in Python module for time operations
- Clone this repository:
git clone https://github.com/MohamedZidane11/python-digital-clock.git
cd python-digital-clock- No additional dependencies required! Python's built-in libraries handle everything 🎉
- Run the clock widget:
welou-digital_clock.py-
The digital clock will appear on your desktop 🖥️
-
Optionally move and resize the window to your preferred position 📍
-
Enjoy your new desktop clock! ⭐
The clock widget displays:
- 🕐 Large Digital Time: Easy-to-read time format (HH:MM:SS)
- 🌓 AM/PM Indicator: Clear morning/evening designation
- 🎯 Clean Interface: Minimalist design that doesn't distract
- 🖤 Dark Theme: Comfortable viewing in any lighting condition
- 🐍 Python 3.6 or higher
- 🖥️ Tkinter (usually included with Python)
- 🖥️ Time (usually included with Python)
- 💻 Any operating system (Windows, macOS, Linux)
You can easily customize:
- 🎨 Colors: Change text and background colors
- 📏 Font Size: Adjust the clock size
- ⏰ Time Format: Switch between 12-hour and 24-hour formats
- 🔝 Window Properties: Always on top, transparency, etc.
Contributions are welcome! Feel free to:
- 🐛 Report bugs
- 💡 Suggest new features
- 🔧 Submit pull requests
- ⭐ Star the repository if you find it useful!
- 🌍 Multiple Time Zones: Display time for different cities
- ⏰ Alarm Feature: Set custom alarms and notifications
- 🎵 Sound Effects: Optional tick sounds or hourly chimes
- 🎨 Theme Options: Multiple color schemes and styles
- 📅 Date Display: Show current date alongside time
- 🔧 Settings Panel: GUI for easy customization
- 📊 Stopwatch Mode: Additional timing functionality
This project is open source and available under the MIT License.
- Built with ❤️ using Python and Tkinter
- Inspired by classic desktop clock widgets
- Perfect for productivity and time management
⭐ Star this repo if you found it helpful!
🍴 Fork it to create your own custom clock widget!