From 9775e4defb7d697e8f67568bd905652c31081d15 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 21 Dec 2011 12:23:34 +0100 Subject: [PATCH] CONKY: Show music info when mpd is playing --- .conkyrc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.conkyrc b/.conkyrc index 5ecb693..3f1f87a 100644 --- a/.conkyrc +++ b/.conkyrc @@ -1,7 +1,7 @@ background yes use_xft yes -xftfont tamsyn:size=8 -xftalpha 0.1 +xftfont tamsyn:pixelsize=14 +!xftalpha 0.1 update_interval 2.0 total_run_times 0 double_buffer yes @@ -36,7 +36,13 @@ Intel Pentium 4 $alignr${freq_g cpu0}Ghz Uptime $alignr${uptime} 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}CPU2 $alignr${cpu cpu2}% ${cpubar cpu2 7,170} $font${color SlateGray}MEM $alignr${memperc}% ${membar 7,170}