From 2332f2b50a386b01ecf68c2f3bd13d161f829705 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 18 Mar 2012 21:35:57 +0900 Subject: [PATCH] fix swap display --- conkyrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conkyrc b/conkyrc index 82f12f5..42f0695 100644 --- a/conkyrc +++ b/conkyrc @@ -53,7 +53,7 @@ ${color2}freq ${color1}:${color0} ${freq 1}Mhz | ${freq 2}Mhz #${color2}btime${color1}:${color0} ${battery_time} ${color0}${hr} ${color2}ram ${color1}:${color0} ${memperc}% ${membar} -${color2}swap ${color1}:${color0} ${if_match ${swapmax} == 0}None${else}${swapperc} ${swapbar}${endif} +${color2}swap ${color1}:${color0} ${if_match "${swapperc}" == "No swap"}None${else}${swapperc} ${swapbar}${endif} ${color0}${stippled_hr} ${color2}root ${color1}:${color0} ${fs_used /} #/${fs_size /} ${fs_bar /}