doc/*.html
doc/*.mxml
patches/
+README
+doc/conky.1
+2009-05-03
+ * Added Sony VAIO fanspeed info (thanks Yeon-Hyeong)
+
2009-05-01
* Added diskio_avg_samples patch (thanks Yeon-Hyeong)
* Fixed $texeci regression
Prints the song name in either the form "artist - title" or file name, depending on whats available
<para></para></listitem>
</varlistentry>
+
<varlistentry>
<term>
<command><option>if_xmms2_connected</option></command>
<varlistentry>
<term>
+ <command><option>sony_fanspeed</option></command>
+ </term>
+ <listitem>
+ Displays the Sony VAIO fanspeed information if sony-laptop kernel support is enabled. Linux only.
+ <para></para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
<command><option>eve</option></command>
<option>api_userid api_key character_id</option>
</term>
endif
if BUILD_LINUX
-linux = linux.c top.c diskio.c users.c
+linux = linux.c top.c diskio.c users.c sony.c
PTHREAD_LIBS = -lpthread
endif
smapi.h \
ibm.c \
ibm.h \
+ sony.h \
users.c
END OBJ(ibm_volume, 0)
END OBJ(ibm_brightness, 0)
#endif
+ /* information from sony_laptop kernel module
+ * /sys/devices/platform/sony-laptop */
+ END OBJ(sony_fanspeed, 0)
END OBJ_IF(if_gw, 0)
END OBJ(ioscheduler, 0)
if (!arg) {
}else if(arg[i] == '}') {
indenting--;
}
- if(indenting == 0 && arg[i+1] < 48) { //<48 has 0, $, and the most used chars not used in varnames but not { or }
+ if(indenting == 0 && (arg[i+1] == ' ' || arg[i+1] == '$' || arg[i+1] == 0)) {
endvar[j]=i+1;
j++;
}
get_ibm_acpi_brightness(p, p_max_size);
}
#endif /* IBM */
+ /* information from sony_laptop kernel module
+ * /sys/devices/platform/sony-laptop */
+ OBJ(sony_fanspeed) {
+ get_sony_fanspeed(p, p_max_size);
+ }
OBJ(if_gw) {
if (!cur->gw_info.count) {
DO_JUMP;
#include "smapi.h"
#endif
+/* sony support */
+#include "sony.h"
+
/* A size for temporary, static buffers to use when
* one doesn't know what to choose. Defaults to 256. */
extern unsigned int text_buffer_size;
OBJ_smapi_bat_power,
OBJ_if_smapi_bat_installed,
#endif /* IBM */
+ /* information from sony_laptop kernel module
+ * /sys/devices/platform/sony-laptop */
+ OBJ_sony_fanspeed,
OBJ_if_gw,
OBJ_ioscheduler,
OBJ_gw_iface,