Translations:Basic Tips for conky/41/en

Revision as of 08:01, 5 July 2023 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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.