终端的数字时钟
PyClock的Python项目详细描述
什么
一个简单的终端数字时钟
运行
python pyclock.py
控件
Keys | Actions |
---|---|
^{tt1}$ or ^{tt2}$ or ^{tt3}$ | quit |
^{tt4}$ or ^{tt5}$ | toggle seconds |
^{tt6}$ or ^{tt7}$ | toggle punctuation |
^{tt8}$ or ^{tt9}$ | toggle center display |
^{tt10}$ or ^{tt11}$ | toggle auto scale display |
^{tt12}$ to ^{tt13}$ | change color |
^{tt14}$ or ^{tt15}$ | decrease width |
^{tt16}$ or ^{tt17}$ | increase width |
^{tt18}$ or ^{tt19}$ | decrease height |
^{tt20}$ or ^{tt21}$ | increase height |
^{tt22}$ or ^{tt23}$ | change color down |
^{tt22}$ or ^{tt25}$ | change color up |
^{tt26}$ or ^{tt27}$ | random color |
命令行选项
Options | Descriptions |
---|---|
^{tt28}$ or ^{tt29}$ | show help message |
^{tt30}$ or ^{tt31}$ | do not display seconds |
^{tt32}$ or ^{tt33}$ | display seconds |
^{tt34}$ or ^{tt35}$ | do not display punctuation |
^{tt36}$ or ^{tt37}$ | display punctuation |
^{tt38}$ or ^{tt39}$ | do not center clock display |
^{tt40}$ or ^{tt41}$ | center clock display |
^{tt42}$ or ^{tt43}$ | do not auto scale display |
^{tt44}$ or ^{tt45}$ | auto scale display |
^{tt46}$ or ^{tt47}$ | color 0-255 (default: 2) |
^{tt48}$ or ^{tt49}$ | time format (default: %I%M%S) |
^{tt50}$ or ^{tt51}$ | scale width (default: 1) |
^{tt52}$ or ^{tt53}$ | scale height (default: 1) |
配置文件
查看example.pyclock.conf了解详细信息。
支架
- [X]完全适用于Linux
- [X]完全适用于OSX
- []不支持Windows