forked from ttygde/pokoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pokoy.1.txt
117 lines (77 loc) · 2.25 KB
/
pokoy.1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
:man source: pokoy
:man version: {revnumber}
:man manual: pokoy manual
pokoy(1)
========
Name
----
pokoy - Lightweight daemon that helps prevent RSI and other computer related stress
Synopsis
--------
*pokoy* [*-hvrnkd*] [*-c* 'CONFIG_PATH']
Description
-----------
*pokoy* is a simple daemon for X. It locks the screen and forces you to take regular breaks.
Options
-------
You can run 'pokoy' without options to see daemon status.
*-r*::
Run daemon.
*-k*::
Kill daemon.
*-n*::
Take break now.
*-s*::
Sleep / wake signal.
*-d*::
Be verbose and print debug information to syslog.
*-c* 'CONFIG_PATH'::
Use the given configuration file.
*-h*::
Print the synopsis and exit.
*-v*::
Print the version and exit.
Configuration
-------------
The default configuration file is '$XDG_CONFIG_HOME/pokoy/pokoyrc'.
An example configuration file is included, usually at /usr/share/pokoy/pokoyrc.
Configuration options
---------------------
Blank lines are ignored.
Lines beginning with a hash mark ('#') are comments, and ignored.
%M is minutes (00..59). %S is seconds (00..59).
*show_bar* <true/false>::
Show progress bar. +
Default: 'true'
*show_timer* <true/false>::
Show timer. +
Default: 'true'
*enable_skip* <true/false>::
If set to true, user can press 's' to skip break. +
Default: 'true'
*enable_postpone* <true/false>::
If set to true, user can press 'p' to postpone break. +
Default: 'true'
*idle_time* <%M:%S>::
If there is no user input for '<idle_time>', the daemon will sleep until user came back. +
Default: '10:00'
*sleep_time* <%M:%S>::
If daemon receive sleep signal via -s, it will sleep for <sleep_time> +
Default: '30:00'
*font* <font_name>::
X11 font. For example: '`-*-terminus-*-*-*-*-32-*-*-*-*-*-*-*`'.
Use xfontsel to choose a font. +
Default: 'fixed'
*block* <class_name>::
If window with '<class_name>' is focused, break will be skipped.
For example, if you add 'block Mplayer', there will be no breaks until mplayer has focus. +
Default: (none)
*break* <time_between_breaks> <break_duration> <postpone_time>::
Add break. All values have <%M:%S> form. If postpone time is '00:00', break cannot be postponed. +
Default: (none)
Author
------
ttygde <u at airmail.cc>
Homepage
--------
https://github.com/ttygde/pokoy