Difference between revisions of "Basic Tips for conky/ru"

Created page with "Используйте любую команду bash вместо <code>XXXX</code>, которую вы можете придумать. Команды bash могут бы..."
(Created page with "'''2.''' Вы можете вызвать шрифт по умолчанию (и его размер) с помощью этой команды: {{File|file=~/.config/conky/co...")
(Created page with "Используйте любую команду bash вместо <code>XXXX</code>, которую вы можете придумать. Команды bash могут бы...")
Tags: Mobile web edit Mobile edit
Line 132: Line 132:


===execi===
===execi===
The variable <code>${execi 3600 XXXX}</code> runs the <code>XXXX</code> bash code in your terminal every 3600 seconds and displays the result in your conky. The result of the <code>uname -r</code> bash command is your currently used kernel name.  
Переменная <code>${execi 3600 XXXX}</code> запускает bash-код <code>XXXX</code> в вашем терминале каждые 3600 секунд и отображает результат в вашем conky. Результатом выполнения команды <code>uname -r</code> bash является используемое Вами в данный момент название ядра.  


Use any bash command instead of <code>XXXX</code> you can think of. The bash commands can be as long and complicated as you want.  
Используйте любую команду bash вместо <code>XXXX</code>, которую вы можете придумать. Команды bash могут быть настолько длинными и сложными, насколько Вы хотите.  


Warning: Using complicated bash commands (e.g. which call other programs or use large files) with low intervals (e.g. <code>${execi 2 XXXX}</code> runs the <code>XXXX</code> code once every 2 seconds and displays it's result in your conky) can use a lot of hardware resources and/or make your computer unresponsive.
Warning: Using complicated bash commands (e.g. which call other programs or use large files) with low intervals (e.g. <code>${execi 2 XXXX}</code> runs the <code>XXXX</code> code once every 2 seconds and displays it's result in your conky) can use a lot of hardware resources and/or make your computer unresponsive.
translator
10,713

edits