Tags : Mobile web edit Mobile edit
(No difference)
Latest revision as of 15:36, 14 January 2024
Information about message (contribute ) This message has no documentation.
If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Basic Tips for conky )
* Every line end with <code>,</code> * Non-boolean/numerical value should be placed between <code>'</code> * Comment start with <code>--</code> }} ===Examples=== '''1.''' This will set the default font color of your conky to white. Additionally, a <code>color1</code> gets set using a [http://html-color-codes.info/ Html Color Code]to a light blue: {{File|file=~/.config/conky/conky.conf| content=<pre>conky.config = { ... default_color = 'white', -- White default color color1 = '0ab1ff', -- Light blue ... };</pre> }} '''2.''' This enables Xft, set the default font (LiberationMono), make it bold and set it's size (8): {{File|file=~/.config/conky/conky.conf| content=<pre>conky.config = { ... use_xft = true, font = 'LiberationMono:bold:size=8', ... };</pre> }} '''3.''' In order to position your conky on your screen, modify these settings: {{File|file=~/.config/conky/conky.conf| content=<pre>conky.config = { ... alignment = 'top_right', -- Conky gets placed in the top right corner of your desktop gap_x 18, -- with a horizontal gap of 18 pixels (to your right screen edge) gap_y 20, -- and a vertical gap of 20 pixels (to your top screen edge). ... };</pre> }} '''4.''' In some case you can have multiple values for one setting, they will be separated by a coma: {{File|file=~/.config/conky/conky.conf| content=<pre>conky.config = { ... own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below', ... };</pre> }} Use the command: <code>man conky</code>, and look into the '''CONFIGURATION SETTINGS''' section to see every settings available.
* Every line end with <code>,</code>
* Non-boolean/numerical value should be placed between <code>'</code>
* Comment start with <code>--</code>
}}
===Examples===
'''1.''' This will set the default font color of your conky to white. Additionally, a <code>color1</code> gets set using a [http://html-color-codes.info/ Html Color Code]to a light blue:
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.config = {
...
default_color = 'white', -- White default color
color1 = '0ab1ff', -- Light blue
...
};</pre>
}}
'''2.''' This enables Xft, set the default font (LiberationMono), make it bold and set it's size (8):
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.config = {
...
use_xft = true,
font = 'LiberationMono:bold:size=8',
...
};</pre>
}}
'''3.''' In order to position your conky on your screen, modify these settings:
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.config = {
...
alignment = 'top_right', -- Conky gets placed in the top right corner of your desktop
gap_x 18, -- with a horizontal gap of 18 pixels (to your right screen edge)
gap_y 20, -- and a vertical gap of 20 pixels (to your top screen edge).
...
};</pre>
}}
'''4.''' In some case you can have multiple values for one setting, they will be separated by a coma:
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.config = {
...
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
...
};</pre>
}}
Use the command: <code>man conky</code>, and look into the '''CONFIGURATION SETTINGS''' section to see every settings available. Todas las lineas terminan con ,
El valor no numérico debe colocarse entre un '
Los comentarios comienzan con --
}}
Ejemplos
1 Este esta como el color blanco por defecto en conky. Adicionalmente, un color1 se configura usando Html Color Code para un azul claro.
~/.config/conky/conky.conf = {
...
default_color = 'white', -- Color blanco por defecto
color1 = '0ab1ff', -- Azul claro
...
};
{{{content}}}
2 Estas conexiones Xft, estan por defecto con la fuente (LiberationMono), crea una Bold y configúrala en el tamaño (8):
~/.config/conky/conky.conf
3 Para la posición del Conky en tu pantalla, modifica estas configuraciones:
~/.config/conky/conky.conf
conky.config = {
...
alignment = 'top_right', -- Conky esta localizado en la parte superior derecha de tu pantalla
gap_x 18, -- Se coloca un espacio horizontal de 18 pixeles (en el borde derecho de la pantalla)
gap_y 20, -- Y un espacio horizontal de 20 pixeles (en el borde superior de la pantalla)
...
};
4 En caso de que tengas múltiples valores para una sola configuración, tendrás que sepáralos con una coma:
~/.config/conky/conky.conf
conky.config = {
...
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
...
};
Usar el comando: man conky
, y busca dentro de CONFIGURATION SETTINGS para ver mas configuraciones disponibles.