mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-24 15:48:28 +00:00
Cesare Tirabassi
0ee5e9935a
Refactoring of commit 363cf1ab7390a113c64390357dede0e452b91a58
The problem with the original commit was that some session-managers set stdin to /dev/null for the processes they launch, therefore the variable wasn't very effective. This commit change the variable conky_user_time to user_time. This variable has a mandatory argument, a console identifier (eg. tty7, pts/0, etc.). Once called, this will list how long the user for the given console has been logged in for. This commit also allows multiple user_time to be specified for different consoles, as well as correctly handle a conky restart.
QUICK & EASY: $ sh autogen.sh $ ./configure $ make $ ./src/conky # to run Conky # make install First, read the README. This contains instructions specific to building conky fresh from the git repo: * Conky requires three "auto-tools", with at least the specific version numbers. Make sure these are installed: aclocal-1.9 automake-1.9 autoconf-2.59 * NOTE: You may also need to install docbook2X for generating the documentation. Conky will check for the following programs in PATH during configuration: db2x_xsltproc db2x_manxml xsltproc * In the directory where you cloned conky from git, run "aclocal", "automake", and then "autoconf". Make sure you run those commands with the latest versions... it is very possible that older versions are installed, and plain "automake" really means automake-1.4, not what we want, but "automake-1.9" instead. Use the "--version" option to check the program version, i.e. "autoconf --version". You can also try using the autogen.sh script, like so: $ sh autogen.sh * After that, it's the familiar $ ./configure $ make # make install You might have to do the last step as root.
Description
Check out my config at gist :)
https://gist.github.com/Llewellynvdm/02279631eabc65601a5722dcf4780768
Languages
C++
84.8%
C
4.8%
CMake
4.1%
TypeScript
2%
Objective-C++
1.8%
Other
2.4%