延迟后让计算机进入睡眠状态
tvsleep的Python项目详细描述
电视睡眠
恢复了电视丢失的辉煌功能:一个睡眠计时器!
动机
使用Netflix或Twitch流媒体进入睡眠状态时使用。
注意事项
仅支持OS X欢迎光临!
安装
使用pip3
全局安装python模块。
$ pip3 install tvsleep
用法
$ tvsleep -h usage: tvsleep [-h][-v][--gui] minutes positional arguments: minutes length of time to wait before putting computer to sleep optional arguments: -h, --help show this help message and exit -v, --verbose display extra info during run --gui open the gui $ tvsleep --gui 42# opens the GUI with preset 42 minutes $ tvsleep -v 42# put the computer to sleep in 42 minutes, with countdown
许可证
gplv3+