projects
/
monky
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added dbus support
[monky]
/
src
/
conky.c
diff --git
a/src/conky.c
b/src/conky.c
index
bade353
..
86be8ed
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-894,6
+894,12
@@
void generate_text_internal(char *p, int p_max_size,
OBJ(battery_short) {
get_battery_short_status(p, p_max_size, obj->data.s);
}
OBJ(battery_short) {
get_battery_short_status(p, p_max_size, obj->data.s);
}
+ OBJ(cell_radio_dbm) {
+ get_dbus_stuff(p, p_max_size, DBUS_CELL_DBM);
+ }
+ OBJ(cell_radio_percent) {
+ get_dbus_stuff(p, p_max_size, DBUS_CELL_PERCENT);
+ }
#endif /* __OpenBSD__ */
OBJ(buffers) {
#endif /* __OpenBSD__ */
OBJ(buffers) {
@@
-6029,7
+6035,7
@@
static void signal_handler(int sig)
{
/* signal handler is light as a feather, as it should be.
* we will poll g_signal_pending with each loop of conky
{
/* signal handler is light as a feather, as it should be.
* we will poll g_signal_pending with each loop of conky
- * and do any signal processing there, NOT here (except
+ * and do any signal processing there, NOT here (except
* SIGALRM because this is caused when conky is hanging) */
if(sig == SIGALRM) {
alarm_handler();
* SIGALRM because this is caused when conky is hanging) */
if(sig == SIGALRM) {
alarm_handler();