Description: | A stopwatch written in Python with a clock and two countdown functions that can minimize to the tray. |
Latest Version: | 2019 |
Source Code: | src/ |
Architecture: |
|
Dependencies: |
|
Arch Repositories: |
|
AUR Page: | pystopwatch |
Arch Forum Thread: | 61309 |
Tags: |
pystopwatch - A stopwatch written in Python with a clock and two countdown functions that can minimize to the tray.
pystopwatch
pystopwatch is a simple GUI stopwatch emulator with 4 modes:
Left-clicking the tray icon will toggle minimizaion to the tray while right-clicking will display a menu to access the preferences and help dialogues as well as quit the application. This menu can also be accessed by right-clicking the display frame in the main window.
“h”, “m” and “s” increment hours, minutes and seconds, respectively.
“H”, “M” and “S” decrement the same. The tab key and
If set, a window will pop up in the center of the screen with this text when the alarm is triggered. The control sequence “%t” will be replaced with the current time as displayed in pyStopwatch. To display a literal “%t”, use “%%t”.
If the alarm text begins with “#!”, the rest of the text is interpretted as a command and its output will be used as the alarm text. For example, “#!date” would display the output of the “date” command in the alarm text popup window.
The rest of the options should be self-explanatory.
Always add an ampersand (“&”) to the end of your alarm command to background the process, otherwise pyStopwatch will lock while waiting for the command to finish. Here are some examples of what can be done when the alarm is triggered:
mpg123 /path/to/some_song.mp3 &
flite "some text to be spoken" &
feh /path/to/some_img.jpg &
/path/to/some/script &