0d449029ea
This seems to be causing some issues with clobbering memory values, and since there is callback functionality already working, this seems unnecessary. * Make all calculations local to function I moved from making the assignments and calculations of certain memory values to doing the calculations on local variables and assigning them at the end of the function for update_meminfo(). This is to keep the info.memX variables from having 'intermediary' values that may give wrong values to other functions if the structure is read from while the function is currently executing. As a matter of keeping the variables consistent across function calls, I removed the zeroing out of certain info struct variables so that if they are read from, they'll still report a sane value. Since the only change to the value a direct assignment at the end of the function, they shouldn't need zeroing out in the first place. |
||
---|---|---|
.github | ||
3rdparty/toluapp | ||
appimage | ||
bin | ||
cmake | ||
data | ||
doc | ||
extras | ||
logo | ||
lua | ||
src | ||
tests | ||
.clang-format | ||
.clang-tidy | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
.gitlab-ci.yml | ||
.travis.yml | ||
AUTHORS | ||
CMakeLists.txt | ||
conky.desktop | ||
CONTRIBUTING.md | ||
COPYING | ||
Dockerfile | ||
LICENSE | ||
LICENSE.BSD | ||
README.cmake | ||
README.docker | ||
README.md | ||
sonar-project.properties |
Conky is a free, light-weight system monitor for X, that displays any kind of information on your desktop.
👉 Grab the latest release from GitHub.
📹 An introduction to Conky (YouTube).
Features
Conky can display more than 300 built-in objects, including support for:
- A plethora of OS stats (uname, uptime, CPU usage, mem usage, disk usage, "top" like process stats, and network monitoring, just to name a few).
- Built-in IMAP and POP3 support.
- Built-in support for many popular music players (MPD, XMMS2, Audacious).
- Can be extended using built-in Lua support, or any of your own scripts and programs (more).
- Built-in Imlib2 and Cairo bindings for arbitrary drawing with Lua (more).
- Runs on Linux, FreeBSD, OpenBSD, DragonFlyBSD, NetBSD, Solaris, Haiku OS, and macOS!
... and much much more.
Conky can display information either as text, or using simple progress bars and graph widgets, with different fonts and colours.
Screenshots
See the User Configs below for more screenshots and associated config files.
Quickstart
Conky comes bundled with many package managers. However, if you'd like to try the latest release of Conky, you can try the AppImage build. If you have jq
and curl
installed, run the following command to fetch the latest AppImage:
$ curl -sL -o conky-x86_64.AppImage \
$(curl -sL https://api.github.com/repos/brndnmtthws/conky/releases/latest | \
jq --raw-output '.assets[0] | .browser_download_url')
$ ls
conky-x86_64.AppImage
If you don't have jq
and curl
installed, go to
https://github.com/brndnmtthws/conky/releases/latest and fetch the latest
AppImage. Then:
$ chmod +x ./conky-x86_64.AppImage
$ ./conky-x86_64.AppImage -C > ~/.conkyrc
$ ./conky-x86_64.AppImage
And that's it! Check out the Wiki for more details on configuring Conky.
Note: To use the AppImage, you may need to install additional runtime libraries.
Documentation
The GitHub Wiki serves as a central hub for all of Conky's documentation.
License
Conky is licensed under the terms of the GPLv3 license.
Contributing
Contributions are welcome from anyone.
Please read CONTRIBUTING.md for guidelines on contributing to Conky.