1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-10-02 15:09:07 +00:00
conky/src
Cesare Tirabassi 363cf1ab73 Add $conky_user_time (sf.net #2830919)
The bug reporter asks if it is possible to add a variable giving the "current
user time" only, since the variable user_times reports the times for ALL
logged users.
AFAIK, the only info one can gather inside conky, is the login time for the
tty connected to conky's standard input.
This commit adds support for it (it should work on any posix compliant *nix).
Note that in coherence with the definition, the variable is called
conky_user_time (for a single user stand-alone machine used as a desktop
this would be the "current" user time).
2009-11-13 16:30:04 +01:00
..
algebra.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
algebra.h Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
apcupsd.c apcupsd: drop init_apcupsd() since it was called at the wrong place 2009-09-15 23:12:15 +02:00
apcupsd.h apcupsd: drop init_apcupsd() since it was called at the wrong place 2009-09-15 23:12:15 +02:00
audacious.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
audacious.h Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
bmpx.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
bmpx.h Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
build.h.in - Comment out NetBSD/SanOS garbage 2006-08-12 06:10:18 +00:00
ccurl_thread.c Fix segfault and memleaks in curl 2009-11-08 21:49:28 +01:00
ccurl_thread.h curl: convert to generic object payload 2009-11-03 23:23:22 +01:00
colours.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
colours.h Revert "Uhh..ansohus" 2009-08-07 01:24:24 -06:00
combine.c combine: convert to generic object payload 2009-11-03 23:23:22 +01:00
combine.h combine: outsource code 2009-11-03 01:50:28 +01:00
common.c Use a define for the maximum number of network devices 2009-11-07 23:46:46 +01:00
common.h drop adt746x objects 2009-11-13 00:47:23 +01:00
conf_cookie.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
conf_cookie.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
conky.c Add $conky_user_time (sf.net #2830919) 2009-11-13 16:30:04 +01:00
conky.h Add $conky_user_time (sf.net #2830919) 2009-11-13 16:30:04 +01:00
core.c Add $conky_user_time (sf.net #2830919) 2009-11-13 16:30:04 +01:00
core.h mixer: convert to generic object payload 2009-11-03 23:23:22 +01:00
diskio.c scan_graph: allow giving a "hint" about a good scale value 2009-11-06 00:10:00 +01:00
diskio.h diskio: convert to generic object payload 2009-11-03 23:23:22 +01:00
entropy.c entropy: outsource code 2009-11-13 00:02:16 +01:00
entropy.h entropy: outsource code 2009-11-13 00:02:16 +01:00
eve.c eve: convert to generic object payload 2009-11-03 23:23:22 +01:00
eve.h eve: convert to generic object payload 2009-11-03 23:23:22 +01:00
exec.c Fix building with --disable-x11 --disable-lua --disable-ncurses 2009-11-07 12:21:48 +01:00
exec.h specials: convert graph objects to new style 2009-11-03 23:23:23 +01:00
fonts.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
fonts.h Revert "Uhh..ansohus" 2009-08-07 01:24:24 -06:00
freebsd.c drop adt746x objects 2009-11-13 00:47:23 +01:00
freebsd.h entropy: outsource code 2009-11-13 00:02:16 +01:00
fs.c specials: introduce dedicated per-object data and merge graph objects 2009-11-03 23:23:23 +01:00
fs.h fs_*: convert to generic object payload 2009-11-03 23:23:22 +01:00
hddtemp.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
hddtemp.h Rewrite hddtemp support for better scaling 2009-09-06 21:53:53 +02:00
ibm.c misc smaller fixes 2009-11-03 23:23:23 +01:00
ibm.h ibm: put specific code to where it belongs 2009-11-03 01:50:28 +01:00
iconv_tools.c drop a few unused fields from struct text_object 2009-11-03 23:23:23 +01:00
iconv_tools.h iconv: outsource code into it's own file 2009-10-04 03:41:45 +02:00
imlib2.c imlib2: don't flood warnings on non-existing images 2009-09-15 23:12:15 +02:00
imlib2.h Fix imlib2 context. 2009-08-03 12:39:44 -06:00
libmpdclient.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
libmpdclient.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
libtcp-portmon.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
libtcp-portmon.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
linux.c drop adt746x objects 2009-11-13 00:47:23 +01:00
linux.h entropy: outsource code 2009-11-13 00:02:16 +01:00
llua.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
llua.h Revert "Uhh..ansohus" 2009-08-07 01:24:24 -06:00
logging.h Revert "auesnthaeou" 2009-08-07 01:21:56 -06:00
mail.c misc smaller fixes 2009-11-03 23:23:23 +01:00
mail.h local_mails: convert to generic object payload 2009-11-03 23:23:22 +01:00
Makefile.am entropy: outsource code 2009-11-13 00:02:16 +01:00
mboxscan.c mboxscan: convert to generic object payload 2009-11-03 23:23:22 +01:00
mboxscan.h mboxscan: convert to generic object payload 2009-11-03 23:23:22 +01:00
mixer.c specials: introduce dedicated per-object data and merge graph objects 2009-11-03 23:23:23 +01:00
mixer.h mixer: convert to generic object payload 2009-11-03 23:23:22 +01:00
moc.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
moc.h rework the update machinery to use callbacks 2009-09-07 00:36:02 +02:00
mpd.c Fix $if_mpd_playing and $mpd_percent when you stop playing a song, thanks Sakari Matikka 2009-11-10 13:23:00 +01:00
mpd.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
net_stat.c Use a define for the maximum number of network devices 2009-11-07 23:46:46 +01:00
net_stat.h if_up: convert to generic object payload 2009-11-03 23:23:22 +01:00
netbsd.c entropy: outsource code 2009-11-13 00:02:16 +01:00
netbsd.h entropy: outsource code 2009-11-13 00:02:16 +01:00
nvidia.c nvidia: convert to generic text object payload 2009-11-03 23:23:22 +01:00
nvidia.h nvidia: convert to generic text object payload 2009-11-03 23:23:22 +01:00
openbsd.c entropy: outsource code 2009-11-13 00:02:16 +01:00
openbsd.h entropy: outsource code 2009-11-13 00:02:16 +01:00
proc.c Added support for $pid_openfiles 2009-11-13 00:36:46 +01:00
proc.h Added support for $pid_openfiles 2009-11-13 00:36:46 +01:00
prss.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
prss.h Fix broken RSS code. 2009-08-04 22:56:19 -06:00
read_tcp.c Fix building with --disable-x11 --disable-lua --disable-ncurses 2009-11-07 12:21:48 +01:00
read_tcp.h read_tcp: outsource code 2009-11-03 01:50:28 +01:00
rss.c rss: convert to generic object payload 2009-11-03 23:23:22 +01:00
rss.h rss: convert to generic object payload 2009-11-03 23:23:22 +01:00
scroll.c Fix $scroll only scrolls once 2009-11-09 02:38:20 +01:00
scroll.h scroll: outsource code 2009-11-03 01:50:28 +01:00
smapi.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
smapi.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
solaris.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
sony.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
sony.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
specials.c scan_graph: allow giving a "hint" about a good scale value 2009-11-06 00:10:00 +01:00
specials.h scan_graph: allow giving a "hint" about a good scale value 2009-11-06 00:10:00 +01:00
tailhead.c local_mails: convert to generic object payload 2009-11-03 23:23:22 +01:00
tailhead.h tailhead: convert to generic object payload 2009-11-03 23:23:22 +01:00
tcp-portmon.c tcp_portmon: convert to generic object payload 2009-11-03 23:23:22 +01:00
tcp-portmon.h tcp_portmon: convert to generic object payload 2009-11-03 23:23:22 +01:00
temphelper.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
temphelper.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
template.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
template.h Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
text_object.c ifblock objects: fix bug for sub-object parsing ifblocks 2009-11-08 20:20:47 +01:00
text_object.h Add $conky_user_time (sf.net #2830919) 2009-11-13 16:30:04 +01:00
timed_thread.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
timed_thread.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
timeinfo.c local_mails: convert to generic object payload 2009-11-03 23:23:22 +01:00
timeinfo.h outsource time, utime and tztime into a separate file 2009-10-04 03:24:04 +02:00
top.c top: fix segfault for $if_running 2009-11-13 00:02:16 +01:00
top.h top: drop problematic field totalmem 2009-11-03 23:24:09 +01:00
users.c Add $conky_user_time (sf.net #2830919) 2009-11-13 16:30:04 +01:00
weather.c Fix building with metar but without xoap 2009-11-08 18:00:13 +01:00
weather.h weather objects: convert to generic object payload 2009-11-03 23:23:22 +01:00
x11.c Fix building with --disable-xft and add ncurses to the -v option 2009-11-07 15:32:03 +01:00
x11.h Revert "Uhh..ansohus" 2009-08-07 01:24:24 -06:00
xmms2.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
xmms2.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00