From 033ff4c0734a8cdc18e88cffd7c6e3a4d912f582 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Thu, 12 Apr 2018 09:18:33 +0500 Subject: [PATCH] conky: fix --- etc/soft/conky/conkyrc.AuthenticAMD | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/etc/soft/conky/conkyrc.AuthenticAMD b/etc/soft/conky/conkyrc.AuthenticAMD index ee6dfc5..b16a823 100644 --- a/etc/soft/conky/conkyrc.AuthenticAMD +++ b/etc/soft/conky/conkyrc.AuthenticAMD @@ -49,8 +49,17 @@ ${if_mounted /mnt/FLASH}$color | flash: ${color brown}${fs_free /mnt/FLASH}${end #${if_mpd_playing}${offset 50}${color darkgreen}[$mpd_smart - $mpd_length/$mpd_percent%]$color${endif} $alignr\ ${color darkred} ${execi 86400 dates >/dev/null && echo " " || echo ""}$color\ -${if_match ${battery_percent BAT0} <= 20}${color red} ${else if_match ${battery_percent BAT0} <= 60}${color brown} ${else}${color darkgreen} ${endif}\ +\ +${if_match ${battery_percent BAT0} <= 20}\ +${color red} \ +${else}${if_match ${battery_percent BAT0} <= 60}\ +${color brown} \ +${else}\ +${color darkgreen} \ +${endif}\ +${endif}\ ${battery_percent BAT0}%$color |\ +\ ${color darkred}$color  ${execi 60 cat $MD/new}$color | \ ${color darkblue}[${execi 2 SHELL=/bin/sh skb 1}]$color | \ ${color darkgreen}墳 ${execi 5 amixer get Master | grep -o '\[..*%\]' -m 1 | sed 's/\[\|\]//g'}$color | \