add wireless essid and battery remaining time
authorAmin Bandali <me@aminb.org>
Sun, 23 Nov 2014 02:46:52 +0000 (21:46 -0500)
committerAmin Bandali <me@aminb.org>
Sun, 23 Nov 2014 02:46:52 +0000 (21:46 -0500)
to conky

conky/.conkyrc

index 25c110e..495f68b 100644 (file)
@@ -6,4 +6,4 @@ total_run_times 0
 use_spacer none
 
 TEXT
-S %{F\#ffcf0f38}${exec cat /tmp/spkicon} %{F\#fffefdfb}${exec cat /tmp/volinfo}%%   %{F\#ffcf0f38}⮏ %{F\#fffefdfb}${execi 30 cat /sys/class/power_supply/BAT0/capacity}%%   %{F\#ffcf0f38}⮖ %{F\#fffefdfb}${time %H:%M}
+S %{F\#ffcf0f38}⮠ %{F\#fffefdfb}${wireless_essid wlp3s0}   %{F\#ffcf0f38}${exec cat /tmp/spkicon} %{F\#fffefdfb}${exec cat /tmp/volinfo}%%   %{F\#ffcf0f38}⮏ %{F\#fffefdfb}${execi 30 cat /sys/class/power_supply/BAT0/capacity}%% (${execi 30 acpi | grep '[0-9]\{2\}:[0-9]\{2\}' -o})   %{F\#ffcf0f38}⮖ %{F\#fffefdfb}${time %H:%M}