Tags : Mobile web edit Mobile edit
(No difference)
Latest revision as of 16:04, 26 September 2024
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 )
'''2.''' You can call the default font (and it's size) with this command: {{File|file=~/.config/conky/conky.conf| content=<pre>conky.text = [[ ... $font ... ]];</pre> }} If you want a different font (DejaVuSerif) and font size (9) in your conky, use this command in your <code>.conf</code> code: {{File|file=~/.config/conky/conky.conf| content=<pre>conky.text = [[ ... ${font DejaVuSerif:size=9} ... ]];</pre> }} '''3.''' This code line displays the text "Kernel: " and the kernel you are using (using <code>$alignr</code> just yields a nicer formatting, it is not necessary: <code>$alignr</code> aligns all following text on the right of your conky): {{File|file=~/.config/conky/conky.conf| content=<pre>conky.text = [[ Kernel: ${alignr}${kernel} ]];</pre> }} '''4.''' This variable gives you the latest 3 manjaro blog entry titles (using rss). It checks for updates every 60 minutes. {{File|file=~/.config/conky/conky.conf| content=<pre>conky.text = [[ ${rss http://manjaro.org/feed/ 60 item_titles 3} ]];</pre> }} '''5.''' Information about the root partition <code>/</code> of your manjaro installation is displayed using {{File|file=~/.config/conky/conky.conf| content=<pre>conky.text = [[ Root: ${alignr}${fs_used /} of ${fs_size /} ]];</pre> }} '''6.''' Instead of example 3, you can use the following code to display the exact same information: {{File|file=~/.config/conky/conky.conf| content=<pre>conky.text = [[ Kernel: ${alignr}${execi 3600 uname -r} ]];</pre> }}
'''2.''' You can call the default font (and it's size) with this command:
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
...
$font
...
]];</pre>
}}
If you want a different font (DejaVuSerif) and font size (9) in your conky, use this command in your <code>.conf</code> code:
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
...
${font DejaVuSerif:size=9}
...
]];</pre>
}}
'''3.''' This code line displays the text "Kernel: " and the kernel you are using (using <code>$alignr</code> just yields a nicer formatting, it is not necessary: <code>$alignr</code> aligns all following text on the right of your conky):
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
Kernel: ${alignr}${kernel}
]];</pre>
}}
'''4.''' This variable gives you the latest 3 manjaro blog entry titles (using rss). It checks for updates every 60 minutes.
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
${rss http://manjaro.org/feed/ 60 item_titles 3}
]];</pre>
}}
'''5.''' Information about the root partition <code>/</code> of your manjaro installation is displayed using
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
Root: ${alignr}${fs_used /} of ${fs_size /}
]];</pre>
}}
'''6.''' Instead of example 3, you can use the following code to display the exact same information:
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
Kernel: ${alignr}${execi 3600 uname -r}
]];</pre>
}} 2. Vous pouvez utiliser la police par défaut (et la taille de lettre qui va avec) en utilisant :
~/.config/conky/conky.conf
conky.text = [[
...
$font
...
]];
Si vous préférez une autre police (DejaVuSerif par exemple) et une autre taille de lettre (9, pour continuer l'exemple) dans votre conky, utilisez ces lignes dans votre code .conf
:
~/.config/conky/conky.conf
conky.text = [[
...
${font DejaVuSerif:size=9}
...
]];
3. Cette ligne de code affiche "Kernel: " et le kernel que vous utilisez (l'utilisation de $alignr
permet uniquement de mieux formater le texte (aligner vers la droite), ce n'est pas nécessaire) :
~/.config/conky/conky.conf
conky.text = [[
Kernel: ${alignr}${kernel}
]];
4. Cette variable vous donne les titres des trois derniers articles parrus sur le blog de Manjaro (avec RSS). Elle se met à jour toutes les 60 minutes.
~/.config/conky/conky.conf
conky.text = [[
${rss http://manjaro.org/feed/ 60 item_titles 3}
]];
5. Des informations sur la racine (/
) de votre système Manjaro peuvent être affichées avec :
~/.config/conky/conky.conf
conky.text = [[
Root: ${alignr}${fs_used /} of ${fs_size /}
]];
6. À la place de l'exemple 3, vous pouvez utiliser les lignes suivantes pour le même objectif :
~/.config/conky/conky.conf
conky.text = [[
Kernel: ${alignr}${execi 3600 uname -r}
]];