CONKY: Show music info when mpd is playing

This commit is contained in:
Tom Willemsen 2011-12-21 12:23:34 +01:00
parent 0dbfba6a4d
commit 9775e4defb

View file

@ -1,7 +1,7 @@
background yes background yes
use_xft yes use_xft yes
xftfont tamsyn:size=8 xftfont tamsyn:pixelsize=14
xftalpha 0.1 !xftalpha 0.1
update_interval 2.0 update_interval 2.0
total_run_times 0 total_run_times 0
double_buffer yes double_buffer yes
@ -36,7 +36,13 @@ Intel Pentium 4 $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime} Uptime $alignr${uptime}
File System $alignr${fs_type} File System $alignr${fs_type}
${font Arial:bold:size=10}${color Tan1}USAGE ${color RoyalBlue}${voffset -2}${hr 2} $if_mpd_playing${font Arial:bold:size=10}${color Tan1}MUSIC ${color RoyalBlue}${voffset -2}${hr 2}
$font$alignc${color SlateGray}$mpd_title
$alignc$mpd_artist
$alignc$mpd_album
$mpd_bar
$endif${font Arial:bold:size=10}${color Tan1}USAGE ${color RoyalBlue}${voffset -2}${hr 2}
$font${color SlateGray}CPU1 $alignr${cpu cpu1}% ${cpubar cpu1 7,170} $font${color SlateGray}CPU1 $alignr${cpu cpu1}% ${cpubar cpu1 7,170}
$font${color SlateGray}CPU2 $alignr${cpu cpu2}% ${cpubar cpu2 7,170} $font${color SlateGray}CPU2 $alignr${cpu cpu2}% ${cpubar cpu2 7,170}
$font${color SlateGray}MEM $alignr${memperc}% ${membar 7,170} $font${color SlateGray}MEM $alignr${memperc}% ${membar 7,170}