Difference between revisions of "Conky/Tips and tricks"

From ArchWiki
Jump to: navigation, search
m (changed to second level header)
(moved tips and tricks over the main conky page, rss feeds, wordpress, weather)
Line 10: Line 10:
  
 
[[Pacman]] provides its own script called {{ic|checkupdates}} which displays package updates from the official repos. Use {{ic|<nowiki>${execi 3600 checkupdates | wc -l}</nowiki>}} to display the total number of packages.
 
[[Pacman]] provides its own script called {{ic|checkupdates}} which displays package updates from the official repos. Use {{ic|<nowiki>${execi 3600 checkupdates | wc -l}</nowiki>}} to display the total number of packages.
 +
 +
== Display weather forecast ==
 +
 +
See [https://bbs.archlinux.org/viewtopic.php?id=37381 this thread].
 +
 +
== Display a countdown timer ==
 +
[https://github.com/orschiro/scriptlets/tree/master/ConkyTimer ConkyTimer] is a simple countdown timer that displays the remaining time of a defined task.
 +
 +
Start the timer using {{ic|conkytimer "<task description>" <min>}}.
 +
 +
== Display RSS feeds ==
 +
 +
''Conky'' has the ability to display RSS feeds natively without the need for an outside script to run and output into Conky. For example, to display the titles of the ten most recent Planet Arch updates and refresh the feed every minute, you would put this into your {{ic|conky.conf}} in the {{ic|TEXT}} section:
 +
 +
${rss https://planet.archlinux.org/rss20.xml 1 item_titles 10 }
 +
If you want to display Arch Forum rss feed, add this line:
 +
${rss https://bbs.archlinux.org/extern.php?action=feed&type=rss 1 item_titles 4}
 +
where 1 is in minutes the refresh interval (15 mn is default),4 the number of items you wish to show.
 +
 +
== Display rTorrent stats ==
 +
 +
See [https://bbs.archlinux.org/viewtopic.php?id=67304 this thread].
 +
 +
== Display your WordPress blog stats ==
 +
 +
This can be achieved by using the in python written extension named [http://evilshit.wordpress.com/2013/04/20/conkypress-a-wordpress-stats-visualization-tool-for-your-desktop/ ConkyPress].

Revision as of 21:53, 14 March 2018


Go back to Conky.

Display package update information

Pacman provides its own script called checkupdates which displays package updates from the official repos. Use ${execi 3600 checkupdates | wc -l} to display the total number of packages.

Display weather forecast

See this thread.

Display a countdown timer

ConkyTimer is a simple countdown timer that displays the remaining time of a defined task.

Start the timer using conkytimer "<task description>" <min>.

Display RSS feeds

Conky has the ability to display RSS feeds natively without the need for an outside script to run and output into Conky. For example, to display the titles of the ten most recent Planet Arch updates and refresh the feed every minute, you would put this into your conky.conf in the TEXT section:

${rss https://planet.archlinux.org/rss20.xml 1 item_titles 10 }

If you want to display Arch Forum rss feed, add this line:

${rss https://bbs.archlinux.org/extern.php?action=feed&type=rss 1 item_titles 4}

where 1 is in minutes the refresh interval (15 mn is default),4 the number of items you wish to show.

Display rTorrent stats

See this thread.

Display your WordPress blog stats

This can be achieved by using the in python written extension named ConkyPress.