mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
doc/variables.xml: add undocumented variables
This commit is contained in:
parent
ebc624c855
commit
887786d746
@ -1414,6 +1414,17 @@
|
||||
counted from 1. If omitted, the parameter defaults to 1.
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
<option>freq2</option>
|
||||
</command>
|
||||
<option>(n)</option>
|
||||
</term>
|
||||
<listitem>Returns CPU #n's clock speed from assembly in MHz. CPUs are
|
||||
counted from 1. If omitted, the parameter defaults to 1.
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
@ -2119,6 +2130,15 @@
|
||||
<listitem>Kernel version
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
<option>keyboard_layout</option>
|
||||
</command>
|
||||
</term>
|
||||
<listitem>Display keyboard layout.
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
@ -2599,6 +2619,15 @@
|
||||
X" if this is the case.
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
<option>mouse_speed</option>
|
||||
</command>
|
||||
</term>
|
||||
<listitem>Display mouse speed.
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
@ -3122,6 +3151,16 @@
|
||||
<listitem>Change outline color
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
<option>password</option>
|
||||
</command>
|
||||
<option>(length)</option>
|
||||
</term>
|
||||
<listitem>Generate random passwords.
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
|
@ -833,11 +833,11 @@ struct text_object *construct_text_object(char *s, const char *arg, long line,
|
||||
END OBJ(num_led, 0) obj->callbacks.print = &print_num_led;
|
||||
END OBJ(caps_led, 0) obj->callbacks.print = &print_caps_led;
|
||||
END OBJ(scroll_led, 0) obj->callbacks.print = &print_scroll_led;
|
||||
END OBJ(kb_layout, 0) obj->callbacks.print = &print_kb_layout;
|
||||
END OBJ(keyboard_layout, 0) obj->callbacks.print = &print_keyboard_layout;
|
||||
END OBJ(mouse_speed, 0) obj->callbacks.print = &print_mouse_speed;
|
||||
#endif /* BUILD_X11 */
|
||||
|
||||
END OBJ(password, 0) obj->data.s = STRNDUP_ARG;
|
||||
END OBJ(password, 0) obj->data.s = strndup(arg ? arg : "20", text_buffer_size.get(*state));
|
||||
obj->callbacks.print = &print_password;
|
||||
obj->callbacks.free = &gen_free_opaque;
|
||||
|
||||
|
@ -1282,7 +1282,7 @@ void print_scroll_led(struct text_object *obj, char *p,
|
||||
print_kdb_led(4, p, p_max_size);
|
||||
}
|
||||
|
||||
void print_kb_layout(struct text_object *obj, char *p,
|
||||
void print_keyboard_layout(struct text_object *obj, char *p,
|
||||
unsigned int p_max_size) {
|
||||
(void)obj;
|
||||
|
||||
|
@ -121,7 +121,7 @@ void print_caps_led(struct text_object *, char *, unsigned int);
|
||||
void print_scroll_led(struct text_object *, char *, unsigned int);
|
||||
|
||||
/* Keyboard layout and mouse speed in percentage */
|
||||
void print_kb_layout(struct text_object *, char *, unsigned int);
|
||||
void print_keyboard_layout(struct text_object *, char *, unsigned int);
|
||||
void print_mouse_speed(struct text_object *, char *, unsigned int);
|
||||
|
||||
#ifdef BUILD_XDBE
|
||||
|
Loading…
Reference in New Issue
Block a user