Skip to content

Botspot/rpi_conky

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rpi_conky

badge

Improved version of Novaspirit's conky script. Newer versions of Conky won't play the old configs due to syntax errors, so this script has been corrected.
Also, I (Botspot) have improved the colors, as the original colors did not look very good together. Screenshot below: screenshot

To Install:

sudo apt install -y conky
wget -O ~/.conkyrc https://raw.githubusercontent.com/Botspot/rpi_conky/master/conkyrc

To make it autostart on boot, create a file at ~/.config/autostart/conky.desktop and place this code into it:

[Desktop Entry]
Name=Conky
Type=Application
Exec=bash -c 'sleep 5;conky -q -d'
Terminal=false
Icon=${DIRECTORY}/apps/Conky/icon-64.png
Comment=system monitoring tool.
Categories=Utility;

To uninstall:

sudo apt purge conky
rm ~/.conkyrc ~/.config/autostart/conky.desktop

Note about the network readout:

By default, this conky configuration is hard-coded to use the eth0 network interface. If you are using WiFi, this needs changing before the network readout will work. In my Pi-Apps installation script, the .conkyrc file is edited if WiFi is detected.
The commands used to accomplish this is provided below, for your convenience:

#change eth0 to wlan0 in conky config if user is currently using WiFi
interface="$(ip addr | awk '/state UP/ {print $2}' | tr -d ':' | head -n 1)"
if [ ! -z "$interface" ];then
  sed -i "s/eth0/$interface/g" ~/.conkyrc
fi

I suppose if you installed conky manually, you can run the above code in your terminal. (Or you could just edit the .conkyrc file.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%