forked from polychromatic/polychromatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolychromatic-cli.1
291 lines (289 loc) · 4.49 KB
/
polychromatic-cli.1
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
.\" Generated by scdoc 1.11.2
.\" Complete documentation for this program is not available as a GNU info page
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.nh
.ad l
.\" Begin generated content:
.TH "polychromatic-cli" "1" "2022-12-03"
.P
.SH NAME
.P
Polychromatic - RGB lighting management software for GNU/Linux
.P
.SH SYNOPSIS
.P
\fBpolychromatic-cli\fR [OPTIONS]
.P
.SH DESCRIPTION
.P
This is the command line interface for configuring device options and retrieving
status information from connected hardware.\&
.P
.SH OPTIONS
.P
.SS DEVICE SELECTION
.P
.RS 4
Use the following arguments to select the devices to read/set changes to.\&
Omitting these arguments selects all devices.\&
.P
\fB-d\fR, \fB--device\fR <ID>
.RS 4
Select the device by form factor.\&
.P
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
accessory
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
display
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
fan
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
gpu
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
headset
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
keyboard
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
keypad
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
laptop
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
mouse
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
mousemat
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
ram
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
speaker
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
stand
.RE
.P
.RE
\fB-n\fR, \fB--name\fR <NAME>
.RS 4
Select a device by its full name, such as "Razer BlackWidow Chroma"
.P
.RE
\fB-s\fR, \fB--serial\fR <SERIAL>
.RS 4
Select a device by its serial string.\&
.P
.RE
.RE
.SS DEVICE INFORMATION
.P
.RS 4
\fB-l\fR, \fB--list-devices\fR
.RS 4
List the selected device(s) and their zone(s)
.P
.RE
\fB-k\fR, \fB--list-options\fR
.RS 4
List supported parameters and current settings in a table.\&
.P
.RE
.RE
.SS DEVICE OPERATION
.P
.RS 4
\fB-z\fR, \fB--zone\fR <ID>
.RS 4
Make a change to the specified zone.\& Some hardware have multiple
lighting regions.\& When omitted, all zones will be selected.\&
.P
.RE
\fB-o\fR, \fB--option\fR <ID>
.RS 4
Set an option on the device.\& For example, "static"
.P
Some options require a \fI--parameter\fR and/or \fI--colour\fR, see below.\&
.P
.RE
\fB-p\fR, \fB--parameter\fR <ID>
.RS 4
Set a parameter for the specified option if applicable.\& For example,
for a wave effect, use "right" or its numerical value (1).\&
.P
Numerical values are useful when setting multiple devices simultaneously
that do not share the same ID, such as a mouse'\&s wave is "up" (1) or
"down" (2) instead of "right" (1) and "left" (2).\&
.P
.RE
\fB-c\fR, \fB--colours\fR <#RRGGBB>[,#RRGGBB.\&.\&.\&]
.RS 4
Set a colour for the specified option if applicable.\&
.P
The input only accepts 6 byte hexadecimal values, such as #00FF00.\&
The hash must be escaped or wrapped in quotes to avoid being interpreted
as a comment by your shell.\& Alternately, the hash can be omitted.\&
.P
Multiple colours may be specified using a comma.\&
.P
.RE
\fB-e\fR, \fB--effect\fR <NAME/PATH>
.RS 4
Plays a custom software effect by its name or an absolute path to
the file.\&
.P
Not to be confused with an \fI--option\fR for hardware effects, see above.\&
.P
.RE
\fB--dpi\fR <X>[,Y]
.RS 4
Sets the DPI (dots per inch) of a mouse.\& The axis can be set
independently, otherwise the same value will be used for both X/Y.\&
.P
DPI is responsible for the speed of the mouse cursor.\&
.P
.RE
.RE
.SH MISCELLANEOUS
.P
.RS 4
\fB-h\fR, \fB--help\fR
.RS 4
Shows the help information.\&
.P
.RE
\fB-v\fR, \fB--verbose\fR
.RS 4
Prints more details about the application'\&s operation.\&
.P
.RE
\fB--version\fR
.RS 4
Prints version information:
.RS 4
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
Software version
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
Commit hash (when run from the repository directory)
.RE
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.IP \(bu 4
.\}
Python version
.RE
.P
.RE
.RE
\fB--no-pretty-column\fR
.RS 4
Disables the pretty column function of the program.\& This may be required
for compatibility with specific terminals and consoles.\&
.P
.RE
\fB--locale [lang]\fR
.RS 4
Force the application to display in a specific locale.\&
For example, "fr_FR" or "nl".\&