Utility application that puts machine to sleep after user set duration
Python3
AppleScript
PySide6
text entry field
start/stop buttons
minutes entered -> expiration
duration decreases in real time
current state (awake or winding down)
error messaging
'LCD' Display, Stylized Status & Title
on current app state
near expiration
numerical values only
less than 1000 (display handles up to 3 digit inputs)
non-negative
puts machine to sleep on timer expiration
Going to bed with video playing in background
Pauses video when triggered:
YT playlists or long videos
Netflix
Spotify
...
Transformed Original Script
console required to execute
locks console on trigger for entirety of duration
no visual interface (entry field, time countdown)
Standalone Application 🙌🏼
no console required (pyinstaller)
application can be interrupted
interface avaialble to set minutes, start/stop
.sleep() title is reference to the 'timing' mechanism in sleep.py
Sleep icons created by Freepik - Flaticon