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)
 
(Importing a new version from external source)
 
Line 5: Line 5:
===Examples===
===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:
'''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.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.config = {
content=<pre>conky.config = {
...
...
Line 14: Line 14:
}}
}}
'''2.''' This enables Xft, set the default font (LiberationMono), make it bold and set it's size (8):
'''2.''' This enables Xft, set the default font (LiberationMono), make it bold and set it's size (8):
{{File|file=~/.config/conky/conky.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.config = {
content=<pre>conky.config = {
...
...
Line 23: Line 23:
}}
}}
'''3.''' In order to position your conky on your screen, modify these settings:
'''3.''' In order to position your conky on your screen, modify these settings:
{{File|file=~/.config/conky/conky.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.config = {
content=<pre>conky.config = {
...
...
Line 33: Line 33:
}}
}}
'''4.''' In some case you can have multiple values for one setting, they will be separated by a coma:
'''4.''' In some case you can have multiple values for one setting, they will be separated by a coma:
{{File|file=~/.config/conky/conky.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.config = {
content=<pre>conky.config = {
...
...

Latest revision as of 08:01, 5 July 2023

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.conf
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.conf
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.conf
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.conf
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.