Manjaro Difference between revisions of "Translations:Basic Tips for conky/41/en"

Difference between revisions of "Translations:Basic Tips for conky/41/en"

From Manjaro
(Importing a new version from external source)
(No difference)

Revision as of 12:20, 5 September 2021

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 ,
  • Non-boolean/numerical value should be placed between '
  • Comment start with --

}}

Examples

1. This will set the default font color of your conky to white. Additionally, a color1 gets set using a Html Color Codeto a light blue:

~/.config/conky/conky.conkyrc
conky.config = {
...
    default_color = 'white',    -- White default color
    color1 = '0ab1ff',          -- Light blue
...
};

2. This enables Xft, set the default font (LiberationMono), make it bold and set it's size (8):

~/.config/conky/conky.conkyrc
conky.config = {
...
    use_xft = true,
    font = 'LiberationMono:bold:size=8',
...
};

3. In order to position your conky on your screen, modify these settings:

~/.config/conky/conky.conkyrc
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).
...
};

4. In some case you can have multiple values for one setting, they will be separated by a coma:

~/.config/conky/conky.conkyrc
conky.config = {
...
    own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
...
};

Use the command: man conky, and look into the CONFIGURATION SETTINGS section to see every settings available.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.