-
-
Notifications
You must be signed in to change notification settings - Fork 620
/
variables.yaml
2552 lines (2509 loc) · 92.6 KB
/
variables.yaml
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
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# See README.md for details on doc processing.
#
# The `desc` field can be formatted with markdown, but please do not include
# headings (lines beginning with `#`) in the `desc` field.
#
# The supported fields are:
#
# * `name`: the name of the thing
# * `desc`: a markdown-formatted description of the thing
# * `args`: optional list of arguments
# * `default`: an optional default value, if applicable
---
desc: |-
To configure what Conky displays, you must supply some variables in the
`conky.text` section of your configuration. In this secton you'll find a
listing of the available variables. Some of them may require build options to
be enabled at compile time for them to work.
Colours are parsed using `XParseColor()`, there might be a list of them:
`/usr/share/X11/rgb.txt`. Colour can be also in `#rrggbb` format (hex).
Some objects may create threads, and sometimes these threads will not be
destroyed until Conky terminates. There is no way to destroy or clean up
threads while Conky is running. For example, if you use an MPD variable,
the MPD thread will keep running until Conky dies. Some threaded objects
will use one of the parameters as a `key`, so that you only have 1
relevant thread running (for example, the $curl, and $rss
objects launch one thread per URI).
Optional arguments are generally denoted with paretheses (i.e., `(optional)`).
values:
- name: acpiacadapter
desc: |-
ACPI AC adapter state. On linux, the adapter option
specifies the subfolder of `/sys/class/power_supply` containing the state
information (tries `AC` and `ADP1` if there is no argument given).
Non-linux systems ignore it.
args:
- (adapter)
- name: acpifan
desc: ACPI fan state.
- name: acpitemp
desc: ACPI temperature in C.
- name: addr
desc: |-
IP address for an interface, or "No Address" if no address
is assigned.
args:
- (interface)
- name: addrs
desc: |-
IP addresses for an interface (if one - works like addr).
Linux only.
args:
- (interface)
- name: adt746xcpu
desc: CPU temperature from therm_adt746x.
- name: adt746xfan
desc: Fan speed from therm_adt746x.
- name: alignc
desc: Align text to centre.
args:
- (num)
- name: alignr
desc: Right-justify text, with space of N.
args:
- (num)
- name: apcupsd
desc: |-
Sets up the connection to apcupsd daemon. Prints nothing.
default: localhost:3551
args:
- host
- port
- name: apcupsd_cable
desc: Prints the UPS connection type.
- name: apcupsd_charge
desc: Current battery capacity in percent.
- name: apcupsd_lastxfer
desc: Reason for last transfer from line to battery.
- name: apcupsd_linev
desc: Nominal input voltage.
- name: apcupsd_load
desc: Current load in percent.
- name: apcupsd_loadbar
desc: Bar showing current load.
- name: apcupsd_loadgauge
desc: Gauge that shows current load.
args:
- (height),(width)
- name: apcupsd_loadgraph
desc: History graph of current load.
args:
- (height),(width)
- (gradient colour 1)
- (gradient colour 2)
- (scale)
- (-t)
- (-l)
- (-x)
- (-y)
- (-m value)
- name: apcupsd_model
desc: Prints the model of the UPS.
- name: apcupsd_name
desc: Prints the UPS user-defined name.
- name: apcupsd_status
desc: Prints current status (on-line, on-battery).
- name: apcupsd_temp
desc: Current internal temperature.
- name: apcupsd_timeleft
desc: Time left to run on battery.
- name: apcupsd_upsmode
desc: Prints the UPS mode (e.g. standalone).
- name: apm_adapter
desc: Display APM AC adapter status. FreeBSD, OpenBSD only.
- name: apm_battery_life
desc: Display APM battery life in percent. FreeBSD, OpenBSD only.
- name: apm_battery_time
desc: |-
Display remaining APM battery life in hh:mm:ss or "unknown"
if AC adapterstatus is on-line or charging. FreeBSD, OpenBSD only.
- name: audacious_bar
desc: Progress bar.
args:
- (height),(width)
- name: audacious_bitrate
desc: Bitrate of current tune.
- name: audacious_channels
desc: Number of audio channels of current tune.
- name: audacious_filename
desc: Full path and filename of current tune.
- name: audacious_frequency
desc: Sampling frequency of current tune.
- name: audacious_length
desc: Total length of current tune as MM:SS.
- name: audacious_length_seconds
desc: Total length of current tune in seconds.
- name: audacious_main_volume
desc: The current volume fetched from Audacious.
- name: audacious_playlist_length
desc: Number of tunes in playlist.
- name: audacious_playlist_position
desc: Playlist position of current tune.
- name: audacious_position
desc: Position of current tune (MM:SS).
- name: audacious_position_seconds
desc: Position of current tune in seconds.
- name: audacious_status
desc: Player status (Playing/Paused/Stopped/Not running).
- name: audacious_title
desc: |-
Title of current tune with optional maximum length
specifier.
args:
- (max length)
- name: battery
desc: |-
Battery status and remaining percentage capacity of ACPI or
APM battery. ACPI battery number can be given as argument.
default: BAT0
args:
- (num)
- name: battery_bar
desc: |-
Battery percentage remaining of ACPI battery in a bar. ACPI battery number
can be given as argument (use `all` to get the mean percentage remaining for
all batteries).
default: BAT0
args:
- (height),(width)
- (num)
- name: battery_percent
desc: |-
Battery percentage remaining for ACPI battery. ACPI battery
number can be given as argument (use `all` to get the
mean percentage remaining for all batteries).
default: BAT0
args:
- (num)
- name: battery_power_draw
desc: |-
Battery power draw in watts
default: BAT0
args:
- (num)
- name: battery_short
desc: |-
Battery status and remaining percentage capacity of ACPI or APM battery.
ACPI battery number can be given as argument. This mode display a short
status, which means that C is displayed instead of charging, D for
discharging, F for full, N for not present, E for empty and U for unknown.
default: BAT0
args:
- (num)
- name: battery_status
desc: |-
Battery status for ACPI battery. ACPI battery number can be
given as arguments.
default: BAT0
args:
- (num)
- name: battery_time
desc: |-
Battery charge/discharge time remaining of ACPI battery.
ACPI battery number can be given as argument.
default: BAT0
args:
- (num)
- name: blink
desc: Let 'text_and_other_conky_vars' blink on and off.
args:
- text_and_other_conky_vars
- name: buffers
desc: Amount of memory buffered.
- name: cached
desc: Amount of memory cached.
- name: cat
desc: |-
Reads a file and displays the contents in conky. This is
useful if you have an independent process generating output that you
want to include in conky.
args:
- file
- name: catp
desc: |-
Reads a file and displays the contents in conky. This is
useful if you have an independent process generating output that you
want to include in conky. This differs from $cat in that it parses the
contents of the file, so you can insert things like
`${color red}hi!${color}` in your file and have it correctly parsed by
Conky.
args:
- file
- name: cmdline_to_pid
desc: PID of the first process that has string in its commandline.
args:
- string
- name: cmus_aaa
desc: Print aaa status of cmus (all/artist/album).
- name: cmus_album
desc: Prints the album of the current cmus song.
- name: cmus_artist
desc: Prints the artist of the current cmus song.
- name: cmus_curtime
desc: Current time of the current cmus song.
- name: cmus_date
desc: Print the date of the current cmus song.
- name: cmus_file
desc: Print the file name of the current cmus song.
- name: cmus_genre
desc: Print the genre name of the current cmus song.
- name: cmus_percent
desc: Percent of song's progress.
- name: cmus_progress
desc: cmus' progress bar.
args:
- (height),(width)
- name: cmus_random
desc: Random status of cmus (on/off).
- name: cmus_repeat
desc: Repeat status of cmus (song/all/off).
- name: cmus_state
desc: Current state of cmus (playing, paused, stopped etc).
- name: cmus_timeleft
desc: Time left of the current cmus song.
- name: cmus_title
desc: Prints the title of the current cmus song.
- name: cmus_totaltime
desc: Total length of the current cmus song.
- name: cmus_track
desc: Print track number of current cmus song.
- name: color
desc: |-
Change drawing color to _color_ which is a name of a color
or a hexcode preceded with #, e.g. `#0A1B2C`. If you use ncurses only
the following colors are supported: red, green, yellow, blue, magenta,
cyan, black, and white.
args:
- (color)
- name: colorN
desc: |-
Change drawing color to colorN configuration option, where N
is a digit between 0 and 9, inclusively.
- name: combine
desc: |-
Places the lines of var2 to the right of the lines of var1
separated by the chars that are put between var1 and var2. For
example: `${combine ${head /proc/cpuinfo 2} - ${head /proc/meminfo 1}}`
gives as output `cpuinfo_line1 - meminfo_line1` on line 1 and
`cpuinfo_line2 -` on line 2. $combine vars can also be nested to place
more vars next to each other.
args:
- var1
- var2
- name: conky_build_arch
desc: CPU architecture Conky was built for.
- name: conky_version
desc: Conky version.
- name: cpu
desc: |-
CPU usage in percents. For SMP machines, the CPU number can
be provided as an argument. ${cpu cpu0} is the total usage, and ${cpu
cpuX} (X >= 1) are individual CPUs.
args:
- (cpuN)
- name: cpubar
desc: |-
Bar that shows CPU usage, height is bar's height in pixels.
See $cpu for more info on SMP.
args:
- (cpuN)
- (height),(width)
- name: cpugauge
desc: |-
Elliptical gauge that shows CPU usage, height and width are
gauge's vertical and horizontal axis respectively. See $cpu for more
info on SMP.
args:
- (cpuN)
- (height),(width)
- name: cpugovernor
desc: |-
The active CPU scaling governor, defaulting to the first core.
See $cpu for more info on SMP. Linux only.
args:
- (cpuN)
- name: cpugraph
desc: |-
CPU usage graph, with optional colours in hex, minus the #.
See $cpu for more info on SMP. Uses a logarithmic scale (to see small
numbers) when you use the -l switch. Takes the switch '-t' to use a
temperature gradient, which makes the gradient values change depending
on the amplitude of a particular graph value (try it and see). The flag
'-x' inverts the x axis and '-y' inverts the y axis of the graph. The flag
'-m' sets a nonzero minimum/lowerbound, ensuring that all values are at
least the specified minimum (excluding zero).
args:
- (cpuN)
- (height),(width)
- (gradient colour 1)
- (gradient colour 2)
- (scale)
- (-t)
- (-l)
- (-x)
- (-y)
- (-m value)
- name: curl
desc: |-
Download data from URI using Curl at the specified interval.
The interval may be a positive floating point value (0 is allowed),
otherwise defaults to 15 minutes. Most useful when used in conjunction
with Lua and the Lua API. This object is threaded, and once a thread
is created it can't be explicitly destroyed. One thread will run for
each URI specified. You can use any protocol that Curl supports.
args:
- url
- (interval_in_minutes)
- name: desktop
desc: |-
Number of the desktop on which conky is running or the
message "Not running in X" if this is the case.
- name: desktop_name
desc: |-
Name of the desktop on which conky is running or the message
"Not running in X" if this is the case.
- name: desktop_number
desc: |-
Number of desktops or the message "Not running in X" if this
is the case.
- name: disk_protect
desc: |-
Disk protection status, if supported (needs kernel-patch).
Prints either "frozen" or "free " (note the padding).
args:
- device
- name: diskio
desc: |-
Displays current disk IO. Device is optional, and takes the
form of sda for /dev/sda. A block device label can be specified with
label:foo and a block device partuuid can be specified with
partuuid:40000000-01.
args:
- (device)
- name: diskio_read
desc: Displays current disk IO for reads. Device as in diskio.
args:
- (device)
- name: diskio_write
desc: Displays current disk IO for writes. Device as in diskio.
args:
- (device)
- name: diskiograph
desc: |-
Disk IO graph, colours defined in hex, minus the #. If scale
is non-zero, it becomes the scale for the graph. Uses a logarithmic
scale (to see small numbers) when you use -l switch. Takes the switch
'-t' to use a temperature gradient, which makes the gradient values
change depending on the amplitude of a particular graph value (try it
and see). The flag '-x' inverts the x axis and '-y' inverts the y axis
of the graph. The flag '-m' sets a nonzero minimum/lowerbound, ensuring
that all values are at least the specified minimum (excluding zero).
args:
- (device)
- (height),(width)
- (gradient colour 1)
- (gradient colour 2)
- (scale)
- (-t)
- (-l)
- (-x)
- (-y)
- (-m value)
- name: diskiograph_read
desc: |-
Disk IO graph for reads, colours defined in hex, minus the
#. If scale is non-zero, it becomes the scale for the graph. Device as
in diskio. Uses a logarithmic scale (to see small numbers) when you
use -l switch. Takes the switch '-t' to use a temperature gradient,
which makes the gradient values change depending on the amplitude of a
particular graph value (try it and see). The flag '-x' inverts the x
axis and '-y' inverts the y axis of the graph. The flag '-m' sets a nonzero
minimum/lowerbound, ensuring that all values are at least the specified
minimum (excluding zero).
args:
- (device)
- (height),(width)
- (gradient colour 1)
- (gradient colour 2)
- (scale)
- (-t)
- (-l)
- (-x)
- (-y)
- (-m value)
- name: diskiograph_write
desc: |-
Disk IO graph for writes, colours defined in hex, minus the
#. If scale is non-zero, it becomes the scale for the graph. Device as
in diskio. Uses a logarithmic scale (to see small numbers) when you
use -l switch. Takes the switch '-t' to use a temperature gradient,
which makes the gradient values change depending on the amplitude of a
particular graph value (try it and see). The flag '-x' inverts the x
axis and '-y' inverts the y axis of the graph. The flag '-m' sets a
nonzero minimum/lowerbound, ensuring that all values are at
least the specified minimum (excluding zero).
args:
- (device)
- (height),(width)
- (gradient colour 1)
- (gradient colour 2)
- (scale)
- (-t)
- (-l)
- (-x)
- (-y)
- (-m value)
- name: distribution
desc: |-
The name of the distribution. It could be that some of the
untested distributions will show up wrong or as "unknown", if that's
the case post a bug on sourceforge, make sure it contains the name of
your distribution, the contents of and if there is a file that
only exists on your distribution, also add the path of that file in
the bug. If there is no such file, please add another way which we can
use to identify your distribution.
other:
filename: /proc/version
- name: downspeed
desc: Download speed in suitable IEC units.
args:
- (net)
- name: downspeedf
desc: Download speed in KiB with one decimal.
args:
- (net)
- name: downspeedgraph
desc: |-
Download speed graph, colours defined in hex, minus the #.
If scale is non-zero, it defines the maximum value of the graph (in bytes
per second). Uses a logarithmic scale (to see small numbers) when you use
-l switch. Takes the switch '-t' to use a temperature gradient, which makes
the gradient values change depending on the amplitude of a particular
graph value (try it and see). The flag '-x' inverts the x axis and '-y'
inverts the y axis of the graph. The flag '-m' sets a nonzero
minimum/lowerbound, ensuring that all values are at least the specified
minimum (excluding zero).
args:
- (netdev)
- (height),(width)
- (gradient colour 1)
- (gradient colour 2)
- (scale)
- (-t)
- (-l)
- (-x)
- (-y)
- (-m)
- name: draft_mails
desc: |-
Number of mails marked as draft in the specified mailbox or
mail spool if not. Only maildir type mailboxes are supported, mbox
type will return -1.
args:
- (maildir)
- (interval)
- name: else
desc: Text to show if any of the above are not true.
- name: endif
desc: Ends an $if block.
- name: entropy_avail
desc: Current entropy available for crypto freaks.
- name: entropy_bar
desc: Normalized bar of available entropy for crypto freaks.
args:
- (height),(width)
- name: entropy_perc
desc: |-
Percentage of entropy available in comparison to the
poolsize.
- name: entropy_poolsize
desc: Total size of system entropy pool for crypto freaks.
- name: eval
desc: |-
Evaluates given string according to the rules of conky.text
interpretation, i.e. parsing any contained text object specifications
into their output, any occurring '$$' into a single '$' and so on. The
output is then being parsed again.
args:
- string
- name: exec
desc: |-
Executes a shell command and displays the output in conky.
Warning: this takes a lot more resources than other variables. I'd
recommend coding wanted behaviour in C/C++ and posting a patch.
args:
- command
- name: execbar
desc: |-
Same as exec, except if the first value returned is a value
between 0-100, it will use that number to draw a horizontal bar. The
height and width parameters are optional, and default to the
default_bar_height and default_bar_width config settings,
respectively.
args:
- (height),(width)
- command
- name: execgauge
desc: |-
Same as exec, except if the first value returned is a value
between 0-100, it will use that number to draw a round gauge (much
like a vehicle speedometer). The height and width parameters are
optional, and default to the default_gauge_height and
default_gauge_width config settings, respectively.
args:
- (height),(width)
- command
- name: execgraph
desc: |-
Draws a horizontally scrolling graph with values from 0-100 plotted on the
vertical axis. All parameters following the command are optional. Gradient
colors can be specified as hexadecimal values with no 0x or # prefix. Use
the -t switch to enable a temperature gradient, so that small values are
"cold" with color 1 and large values are "hot" with color 2. Without the -t
switch, the colors produce a horizontal gradient spanning the width of the
graph. The scale parameter defines the maximum value of the graph. Use the
-l switch to enable a logarithmic scale, which helps to see small values.
The default size for graphs can be controlled via the default_graph_height
and default_graph_width config settings. The flag '-x' inverts the x axis
and '-y' inverts the y axis of the graph. The flag '-m' sets a nonzero
minimum/lowerbound, ensuring that all values are at least the specified
minimum (excluding zero).
If you need to execute a command with spaces, you have a
couple options:
1. wrap your command in double-quotes, or
2. put your command into a separate file, such as ~/bin/myscript.sh, and use
that as your execgraph command.
Remember to make your script executable!
In the following example, we set up execgraph to display seconds (0-59) on a
graph that is 50px high and 200px wide, using a temperature gradient with
colors ranging from red for small values (FF0000) to yellow for large values
(FFFF00). We set the scale to 60.
```
${execgraph ~/seconds.sh 50,200 FF0000 FFFF00 60 -t}
```
args:
- command
- (height),(width)
- (gradient color 1)
- (gradient color 2)
- (scale)
- (-t)
- (-l)
- (-x)
- (-y)
- (-m value)
- name: execi
desc: |-
Same as exec, but with a specific interval in seconds. The
interval can't be less than the update_interval in your configuration.
See also $texeci.
args:
- interval
- command
- name: execibar
desc: Same as execbar, but with an interval.
args:
- interval
- (height),(width)
- command
- name: execigauge
desc: Same as execgauge, but with an interval.
args:
- interval
- (height),(width)
- command
- name: execigraph
desc: Same as execgraph, but with an interval.
args:
- interval
- command
- (height),(width)
- (gradient color 1)
- (gradient color 2)
- (scale)
- (-t)
- (-l)
- (-x)
- (-y)
- (-m value)
- name: execp
desc: |-
Executes a shell command and displays the output in conky.
Warning: this takes a lot more resources than other variables. I'd
recommend coding wanted behaviour in C/C++ and posting a patch. This
differs from $exec in that it parses the output of the command, so you
can insert things like `${color red}hi!${color}` in your script and have
it correctly parsed by Conky. Caveats: Conky parses and evaluates the
output of $execp every time Conky loops, and then destroys all the
objects. If you try to use anything like $execi within an $execp
statement, it will functionally run at the same interval that the
$execp statement runs, as it is created and destroyed at every
interval.
args:
- command
- name: execpi
desc: |-
Same as execp, but with an interval. Note that the output
from the $execpi command is still parsed and evaluated at every
interval.
args:
- interval
- command
- name: flagged_mails
desc: |-
Number of mails marked as flagged in the specified mailbox
or mail spool if not. Only maildir type mailboxes are supported, mbox
type will return -1.
args:
- (maildir)
- (interval)
- name: font
desc: |-
Specify a different font. This new font will apply to the
current line and everything following. You can use a $font with no
arguments to change back to the default font (much like with $color).
args:
- (font)
- name: fontN
desc: |-
Change font to fontN configuration option, where N is a
digit between 0 and 9, inclusively.
- name: format_time
desc: |-
Format time given in seconds. This var only works when the
times_in_seconds configuration setting is on. Format is a string that
should start and end with a double quote `"` character. The quote
characters are not part of the output, \w,\d,\h,\m,\s,\(,\) and \\ are
replaced by weeks,days,hours,minutes,seconds,(,) and \. If you leave out a
unit, it's value will be expressed in the highest unit lower than the one
left out. Text between ()-chars will not be visible if a replaced unit in
this text is 0. If seconds is a decimal number then you can see the
numbers behind the point by using \S followed by a number that specifies
the amount of digits behind the point that you want to see (maximum 9).
You can also place a 'x' behind \S so you have all digits behind the point
and no trailing zero's. (also maximum 9).
args:
- seconds
- format
- name: forwarded_mails
desc: |-
Number of mails marked as forwarded in the specified mailbox
or mail spool if not. Only maildir type mailboxes are supported, mbox
type will return -1.
args:
- (maildir)
- (interval)
- name: free_bufcache
desc: Amount of memory cached or buffered, as reported by free. Linux only.
- name: free_cached
desc: Amount of memory cached, as reported by free. Linux only.
- name: freq
desc: |-
Returns CPU #n's frequency in MHz. CPUs are counted from 1.
default: 1
args:
- (n)
- name: freq2
desc: |-
Returns CPU #n's clock speed from assembly in MHz. CPUs are
counted from 1.
default: 1
args:
- (n)
- name: freq_g
desc: |-
Returns CPU #n's frequency in GHz. CPUs are counted from 1.
default: 1
args:
- (n)
- name: fs_bar
desc: |-
Bar that shows how much space is used on a file system.
height is the height in pixels. fs is any file on that file system.
args:
- (height),(width)
- fs
- name: fs_bar_free
desc: |-
Bar that shows how much space is free on a file system.
height is the height in pixels. fs is any file on that file system.
args:
- (height),(width)
- fs
- name: fs_free
desc: Free space on a file system available for users.
args:
- (fs)
- name: fs_free_perc
desc: |-
Free percentage of space on a file system available for
users.
args:
- (fs)
- name: fs_size
desc: File system size.
args:
- (fs)
- name: fs_type
desc: File system type.
args:
- (fs)
- name: fs_used
desc: File system used space.
args:
- (fs)
- name: fs_used_perc
desc: Percent of file system used space.
args:
- (fs)
- name: gid_name
desc: Name of group with this gid.
args:
- gid
- name: github_notifications
desc: Number of GitHub notifications.
- name: goto
desc: The next element will be printed at position 'x'.
args:
- x
- name: gw_iface
desc: |-
Displays the default route's interface or "multiple"/"none"
accordingly.
- name: gw_ip
desc: |-
Displays the default gateway's IP or "multiple"/"none"
accordingly.
- name: hddtemp
desc: |-
Displays temperature of a selected hard disk drive as
reported by the hddtemp daemon. Use hddtemp_host and hddtemp_port to
specify a host and port for all hddtemp objects. If no dev parameter
is given, the first disk returned by the hddtemp daemon is used.
args:
- (dev)
- name: head
desc: |-
Displays first N lines of supplied text file. The file is
checked every 'next_check' update. If next_check is not supplied,
Conky defaults to 2. Max of 30 lines can be displayed, or until the
text buffer is filled.
args:
- logfile
- lines
- (next_check)
- name: hr
desc: Horizontal line, height is the height in pixels.
args:
- (height)
- name: hwmon
desc: |-
Hwmon sensor from sysfs (Linux 2.6). Parameter dev can be:
1. Number. e.g `1` means hwmon1.
2. Module name. e.g. `k10temp` means the first hwmon device whose module
name is `k10temp.
3. Omitted. Then the first hwmon device (hwmon0) will be used.
Parameter type is either `in` or `vol` meaning voltage; `fan` meaning fan;
`temp` meaning temperature. Parameter n is number of the sensor. See
`/sys/class/hwmon/` on your local computer. The optional arguments `factor`
and `offset` allow precalculation of the raw input, which is being modified
as follows: `input = input * factor + offset`. Note that they have to be
given as decimal values (i.e. contain at least one decimal place).
args:
- (dev)
- type
- n
- (factor offset)
other:
filename: null
- name: i2c
desc: |-
I2C sensor from sysfs (Linux 2.6). Parameter dev may be omitted if you have
only one I2C device. Parameter type is either `in` or `vol` meaning voltage;
`fan` meaning fan; `temp` meaning temperature. Parameter n is number of the
sensor. See `/sys/bus/i2c/devices/` on your local computer. The optional
arguments `factor` and `offset` allow precalculation of the raw input, which
is being modified as follows: `input = input * factor + offset`. Note that
they have to be given as decimal values (i.e. contain at least one decimal
place).
args:
- (dev)
- type
- n
- (factor offset)
other:
filename: null
- name: i8k_ac_status
desc: |-
If running the i8k kernel driver for Inspiron laptops, displays whether ac
power is on, as listed in `/proc/i8k` (translated to human-readable). Beware
that this is by default not enabled by i8k itself.
- name: i8k_bios
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays the bios version as listed in /proc/i8k.
- name: i8k_buttons_status
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays the volume buttons status as listed in /proc/i8k.
- name: i8k_cpu_temp
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays the cpu temperature in Celsius, as reported by /proc/i8k.
- name: i8k_left_fan_rpm
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays the left fan's rate of rotation, in revolutions per minute as
listed in /proc/i8k. Beware, some laptops i8k reports these fans in
reverse order.
- name: i8k_left_fan_status
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays the left fan status as listed in /proc/i8k (translated to
human-readable). Beware, some laptops i8k reports these fans in
reverse order.
- name: i8k_right_fan_rpm
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays the right fan's rate of rotation, in revolutions per minute
as listed in /proc/i8k. Beware, some laptops i8k reports these fans in
reverse order.
- name: i8k_right_fan_status
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays the right fan status as listed in /proc/i8k (translated to
human-readable). Beware, some laptops i8k reports these fans in
reverse order.
- name: i8k_serial
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays your laptop serial number as listed in /proc/i8k.
- name: i8k_version
desc: |-
If running the i8k kernel driver for Inspiron laptops,
displays the version formatting of /proc/i8k.
- name: ibm_brightness
desc: |-
If running the IBM ACPI, displays the brigtness of the
laptops's LCD (0-7).
- name: ibm_fan
desc: If running the IBM ACPI, displays the fan speed.
- name: ibm_temps
desc: |-
If running the IBM ACPI, displays the temperatures from the
IBM temperature sensors (N=0..7) Sensor 0 is on the CPU, 3 is on the
GPU.
args:
- N
- name: ibm_thinklight
desc: |-
If running the IBM ACPI, displays the status of your
ThinkLight™. Value is either 'on', 'off' or 'unknown'.
- name: ibm_volume
desc: |-
If running the IBM ACPI, displays the "master" volume,
controlled by the volume keys (0-14).
- name: ical
desc: |-
Shows title of event number 'number' in the ical (RFC 5545)
file 'file'. The events are first ordered by starting time, events
that started in the past are ignored. The events that are shown are
the VEVENTS, the title that is shown is the SUMMARY and the starting
time used for sorting is DTSTART.
args:
- number
- file
- name: iconv_start
desc: |-
Convert text from one codeset to another using GNU iconv.
Needs to be stopped with iconv_stop.
args:
- codeset_from
- codeset_to
- name: iconv_stop
desc: Stop iconv codeset conversion.
- name: if_empty
desc: |-
if conky variable VAR is empty, display everything between
$if_empty and the matching $endif.
args:
- (var)
- name: if_existing
desc: |-
if FILE exists, display everything between if_existing and
the matching $endif. The optional second parameter checks for FILE
containing the specified string and prints everything between
$if_existing and the matching $endif.
args:
- file
- (string)
- name: if_gw
desc: |-
if there is at least one default gateway, display everything
between $if_gw and the matching $endif.
- name: if_match
desc: |-
Evaluates the given boolean expression, printing everything
between $if_match and the matching $endif depending on whether the
evaluation returns true or not. Valid expressions consist of a left
side, an operator and a right side. Left and right sides are being
parsed for contained text objects before evaluation.
Recognised left and right side types are:
* **double**: Argument consists of only digits and a single dot.
* **long**: Argument consists of only digits.
* **string**: Argument is enclosed in quotation marks (`"`).
Valid operands are:
* `<` or `>`
* `<=` or `>=`
* `==` or `!=`
args:
- expression
- name: if_mixer_mute
desc: |-
If mixer exists, display everything between $if_mixer_mute
and the matching $endif. If no mixer is specified, "Vol" is used.
args:
- (mixer)
- name: if_mounted
desc: |-
if MOUNTPOINT is mounted, display everything between
$if_mounted and the matching $endif.
args:
- (mountpoint)
- name: if_mpd_playing
desc: |-
if mpd is playing or paused, display everything between
$if_mpd_playing and the matching $endif.
- name: if_pa_sink_muted
desc: |-
If Pulseaudio's default sink is muted, display everything
between $if_pa_sink_muted and the corresponding $else or $endif.
- name: if_pa_source_muted
desc: |-
If Pulseaudio's default source (e.g. your microphone) is muted, display
everything between $if_pa_source_muted and the corresponding $else or $endif.
- name: if_pa_source_running
desc: |-
If Pulseaudio's default source is running (e.g. a program is accessing