1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-06-29 04:03:29 +00:00
Go to file
Brenden Matthews 8aa9c819f3
Conky for mac os master (#579)
* Try to amend #31

* BUILD_WLAN should be available for all OS.

Keep BUILD_WLAN OFF by default for compatibility reasons.

* WLAN-related variables should be available for every OS.

There are some problems (probably null-dereference)

* Fix $wireless_essid crashing conky if no argument provided.

Conky wasn't parsing the argument of the variable as it should, thus wasn't allocating the `dev` member variable.

Also fix some documentation stuff.

* Improve `get_freq` #20

Using the Intel® Power Gadget API (https://software.intel.com/en-us/blogs/2012/12/13/using-the-intel-power-gadget-api-on-mac-os-x) we can now get actual Core frequency and not the constant factory one.

Though, for some weird reason the API gives the same freq for all Cores, thus the |cpu| arg becomes useless.

* Oops, this accidently slipped in

* Introduce BUILD_IPGFREQ build option

This build option has been introduced for one particular reason:

On macOS getting current core-frequency is not supported by the APIs.  A solution is to install Intel's ® Power Gadget which comes with an .app, a Framework and a kernel-extension.  Though, this may trouble some alot, thus introduce BUILD_IPGFREQ.

* Forgot static here.

* Some improvements for get_freq again.

Fix frequency not printing correctly (I wasn't using the divisor)
Add more guards.

* Setup cmake files and project code for Objective-C code #17

We want to use CoreWLAN framework.

* update_cpu_usage() now supports multiple cores

Also, some cleanup.

* Updated default conky config to monitor Mac Networking

* Made Mac Friendly BuildOptions and generic default conky configs

* Undid Xdamage config and cleaned up previous IF statements

* Re-Added XDamage fix

* Finish up the algorithm. I think its now correct. Closes: #33

* Cleanup macro and introduce a no-op free_cpu() function for ALL cpu-related variables

free_cpu() must be implemented for every OS and on all except macOS its a no-op function.

* Reformat, add empty comment.
2018-08-07 11:54:01 -04:00
bin Only run tidy on modified code, relocate scripts. (#490) 2018-05-12 22:46:47 -04:00
cmake Conky for mac os master (#579) 2018-08-07 11:54:01 -04:00
data Conky for mac os master (#579) 2018-08-07 11:54:01 -04:00
doc Conky for mac os master (#579) 2018-08-07 11:54:01 -04:00
extras extras/convert.lua: change url to wiki page (#554) 2018-08-03 17:28:42 -05:00
lua Fix problems found when fixing docker (#575) 2018-08-07 09:38:36 -04:00
src Conky for mac os master (#579) 2018-08-07 11:54:01 -04:00
.clang-format Apply a bunch of code fixes from sonarcloud. (#492) 2018-05-13 09:58:03 -04:00
.dockerignore Build improvements: clang-tidy, sonar, Dockerfile. (#488) 2018-05-12 19:26:31 -04:00
.editorconfig Apply a bunch of code fixes from sonarcloud. (#492) 2018-05-13 09:58:03 -04:00
.gitignore Build improvements: clang-tidy, sonar, Dockerfile. (#488) 2018-05-12 19:26:31 -04:00
.travis.yml travisCI for macOS (#524) 2018-06-19 08:07:44 -04:00
AUTHORS Basic macOS support (#480) 2018-05-07 07:27:32 -04:00
ChangeLog $memwithbuffers object and bar (sf.net #2954143) 2010-02-18 18:32:25 +01:00
CMakeLists.txt Build improvements: clang-tidy, sonar, Dockerfile. (#488) 2018-05-12 19:26:31 -04:00
COPYING Update COPYING 2018-01-25 09:28:24 -05:00
Dockerfile Fix problems found when fixing docker (#575) 2018-08-07 09:38:36 -04:00
LICENSE GPLv3 is the default license. 2018-01-25 09:26:33 -05:00
LICENSE.BSD Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
NEWS Reformatted all code 2008-02-20 20:30:45 +00:00
README.cmake Deprecate autotools, update docs to reflect cmake build system. 2010-01-01 14:08:57 -08:00
README.docker Using X11 conky in a container 2018-02-18 18:17:22 +01:00
README.md Update README.md 2018-08-07 11:04:06 -04:00
sonar-project.properties Apply a bunch of code fixes from sonarcloud. (#492) 2018-05-13 09:58:03 -04:00
TODO Removing old svn keywords. 2008-12-09 16:35:49 -07:00

Conky

Build Status Quality Gate

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.

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, BMPx, Audacious).
  • Can be extended using built-in Lua support, or any of your own scripts and programs ([more](Lua Interface)).
  • 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

screenshot screenshot screenshot

See the User Configs section of the wiki for more screenshots and their associated Conky config files.

Documentation

The GitHub Wiki serves as a central hub for all of Conky's documentation. Quick links:

License

Conky is licensed under the terms of the GPLv3 and BSD licenses.

Contributing

To submit code changes, please open pull requests against the GitHub repository. Patches submitted in issues, email, or elsewhere will likely be ignored. Here's some general guidelines when submitting PRs:

  • In your pull request, please:
    • Describe the changes, why they were necessary, etc
    • Describe how the changes affect existing behaviour
    • Describe how you tested and validated your changes
    • Include any relevant screenshots/evidence demonstrating that the changes work and have been tested
  • Any new source files should include a GPLv3 license header
  • Any contributed code must be GPLv3 licensed