Translations:Basic Tips for conky/45/en
From Manjaro
Views
Actions
Namespaces
Variants
Tools
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} ]];