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

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

From Manjaro
Line 8: Line 8:
content=<pre>conky.config = {
content=<pre>conky.config = {
...
...
     default_color = 'white',    -- White default color
     default_color = 'white',    -- Белый цвет по умолчанию
     color1 = '0ab1ff',          -- Light blue
     color1 = '0ab1ff',          -- Светло-голубой
...
...
};</pre>
};</pre>

Revision as of 08:03, 12 January 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.
  • Каждая строка заканчивается на ,
  • Небулево/числовое значение должно быть помещено между '
  • Комментарий начинается с --

}}

Примеры

1. Это установит цвет шрифта вашего conky по умолчанию на белый. Кроме того, color 1 устанавливается с помощью / Цветовой код Htmlна светло-голубой:

~/.config/conky/conky.conkyrc
conky.config = {
...
    default_color = 'white',    -- Белый цвет по умолчанию
    color1 = '0ab1ff',          -- Светло-голубой
...
};

2. Это включает Xft, установите шрифт по умолчанию (Liberation Mono), выделите его жирным шрифтом и установите размер (8):

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

3. Чтобы разместить свой conky на экране, измените эти настройки:

~/.config/conky/conky.conkyrc
conky.config = {
...
    alignment = 'top_right',     -- Conky помещается в правом верхнем углу вашего рабочего стола
    gap_x 18,                    -- с горизонтальным зазором в 18 пикселей (к правому краю экрана)
    gap_y 20,                    -- и вертикальный зазор в 20 пикселей (до верхнего края экрана)
...
};

4. В некоторых случаях у Вас может быть несколько значений для одного параметра - они будут разделены запятой:

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

Используйте команду: man conky и посмотрите CONFIGURATION SETTINGS чтобы просмотреть все доступные настройки.

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