Updated status conky for netbook.
This commit is contained in:
@@ -23,7 +23,7 @@ ${if_existing /sys/class/net/wlp2s0}\
|
|||||||
W: \
|
W: \
|
||||||
${if_up wlp2s0}\
|
${if_up wlp2s0}\
|
||||||
${if_match "${addr wlp2s0}" != "No Address"}\
|
${if_match "${addr wlp2s0}" != "No Address"}\
|
||||||
${addr wlp2s0} @ ${wireless_essid wlp2s0} (${wireless_link_qual_perc wlp2s0}%)\
|
${wireless_essid wlp2s0} (${wireless_link_qual_perc wlp2s0}%)\
|
||||||
${else}\
|
${else}\
|
||||||
No Address\
|
No Address\
|
||||||
${endif}\
|
${endif}\
|
||||||
@@ -106,7 +106,20 @@ ${endif}\
|
|||||||
${else}\#FF0000\
|
${else}\#FF0000\
|
||||||
${endif}\
|
${endif}\
|
||||||
" },
|
" },
|
||||||
${endif}
|
${endif}\
|
||||||
|
\
|
||||||
|
\
|
||||||
|
\
|
||||||
|
${if_existing /sys/class/power_supply/BAT0}\
|
||||||
|
{ "full_text" : " BAT: ${battery_short BAT0} "\
|
||||||
|
, "color" : "\
|
||||||
|
${if_match ${battery_percent BAT0} < 10}\#FF0000\
|
||||||
|
${else}${if_match ${battery_percent BAT0} < 30}\#FFFF00\
|
||||||
|
${else}\#00FF00\
|
||||||
|
${endif}\
|
||||||
|
${endif}\
|
||||||
|
" },
|
||||||
|
${endif}\
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
@@ -120,12 +133,6 @@ ${endif}\
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
${if_existing /sys/class/power_supply/BAT0}\
|
|
||||||
{ "full_text" : " BAT: ${battery_short BAT0} " , "color" : "\#FFFFFF" },
|
|
||||||
${endif}\
|
|
||||||
\
|
|
||||||
\
|
|
||||||
\
|
|
||||||
{ "full_text" : " ${time %a %F %T} " , "short_text" : " ${time %a %T} " , "color" : "\#FFFFFF" , "name" : "time" }
|
{ "full_text" : " ${time %a %F %T} " , "short_text" : " ${time %a %T} " , "color" : "\#FFFFFF" , "name" : "time" }
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user