Manjaro Difference between revisions of "Translations:Basic Tips for conky/45/en"

Difference between revisions of "Translations:Basic Tips for conky/45/en"

From Manjaro
(Importing a new version from external source)
 
(Importing a new version from external source)
 
Line 1: Line 1:
'''2.''' You can call the default font (and it's size) with this command:
'''2.''' You can call the default font (and it's size) with this command:
{{File|file=~/.config/conky/conky.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
content=<pre>conky.text = [[
...
...
Line 7: Line 7:
]];</pre>
]];</pre>
}}
}}
If you want a different font (DejaVuSerif) and font size (9) in your conky, use this command in your <code>.conkyrc</code> code:
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.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
content=<pre>conky.text = [[
...
...
Line 16: Line 16:
}}
}}
'''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):
'''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.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
content=<pre>conky.text = [[
Kernel: ${alignr}${kernel}
Kernel: ${alignr}${kernel}
Line 22: Line 22:
}}
}}
'''4.''' This variable gives you the latest 3 manjaro blog entry titles (using rss). It checks for updates every 60 minutes.
'''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.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
content=<pre>conky.text = [[
${rss http://manjaro.org/feed/ 60 item_titles 3}
${rss http://manjaro.org/feed/ 60 item_titles 3}
Line 28: Line 28:
}}
}}
'''5.''' Information about the root partition <code>/</code> of your manjaro installation is displayed using
'''5.''' Information about the root partition <code>/</code> of your manjaro installation is displayed using
{{File|file=~/.config/conky/conky.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
content=<pre>conky.text = [[
Root: ${alignr}${fs_used /} of ${fs_size /}
Root: ${alignr}${fs_used /} of ${fs_size /}
Line 34: Line 34:
}}
}}
'''6.''' Instead of example 3, you can use the following code to display the exact same information:
'''6.''' Instead of example 3, you can use the following code to display the exact same information:
{{File|file=~/.config/conky/conky.conkyrc|
{{File|file=~/.config/conky/conky.conf|
content=<pre>conky.text = [[
content=<pre>conky.text = [[
Kernel: ${alignr}${execi 3600 uname -r}
Kernel: ${alignr}${execi 3600 uname -r}
]];</pre>
]];</pre>
}}
}}

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)
'''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:

~/.config/conky/conky.conf
conky.text = [[
...
$font
...
]];

If you want a different font (DejaVuSerif) and font size (9) in your conky, use this command in your .conf code:

~/.config/conky/conky.conf
conky.text = [[
...
${font DejaVuSerif:size=9}
...
]];

3. This code line displays the text "Kernel: " and the kernel you are using (using $alignr just yields a nicer formatting, it is not necessary: $alignr aligns all following text on the right of your conky):

~/.config/conky/conky.conf
conky.text = [[
Kernel: ${alignr}${kernel}
]];

4. This variable gives you the latest 3 manjaro blog entry titles (using rss). It checks for updates every 60 minutes.

~/.config/conky/conky.conf
conky.text = [[
${rss http://manjaro.org/feed/ 60 item_titles 3}
]];

5. Information about the root partition / of your manjaro installation is displayed using

~/.config/conky/conky.conf
conky.text = [[
Root: ${alignr}${fs_used /} of ${fs_size /}
]];

6. Instead of example 3, you can use the following code to display the exact same information:

~/.config/conky/conky.conf
conky.text = [[
Kernel: ${alignr}${execi 3600 uname -r}
]];
Cookies help us deliver our services. By using our services, you agree to our use of cookies.