diff options
author | Adrian Kummerlaender | 2015-06-30 17:31:37 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-06-30 17:31:37 +0200 |
commit | c5948ecad668e94a15a1d2be2f40fa2c642fd857 (patch) | |
tree | 3d0b988fc471e1266138a54d4f0fe78d8f291e4f | |
parent | eb4f60dd7abdd10f04317c9d4879acf3f1002f9d (diff) | |
download | dotfiles-c5948ecad668e94a15a1d2be2f40fa2c642fd857.tar dotfiles-c5948ecad668e94a15a1d2be2f40fa2c642fd857.tar.gz dotfiles-c5948ecad668e94a15a1d2be2f40fa2c642fd857.tar.bz2 dotfiles-c5948ecad668e94a15a1d2be2f40fa2c642fd857.tar.lz dotfiles-c5948ecad668e94a15a1d2be2f40fa2c642fd857.tar.xz dotfiles-c5948ecad668e94a15a1d2be2f40fa2c642fd857.tar.zst dotfiles-c5948ecad668e94a15a1d2be2f40fa2c642fd857.zip |
Changed _conky_ configuration to use _Font Awesome_ icons
* this allows for a more visually pleasing and compact display of status information
* the icons themselves are used to convey infomation about e.g. the connection type
-rw-r--r-- | conky/.conkyrc | 79 |
1 files changed, 41 insertions, 38 deletions
diff --git a/conky/.conkyrc b/conky/.conkyrc index c296335..0e36484 100644 --- a/conky/.conkyrc +++ b/conky/.conkyrc @@ -7,89 +7,88 @@ if_up_strictness address TEXT [\ {\ - "full_text" : "Host",\ + "full_text" : "",\ "separator" : false\ },\ {\ - "full_text" : "$nodename ",\ - "color" : "\#909737"\ - },\ - {\ - "full_text" : " Root",\ + "full_text" : "${fs_used_perc /}%",\ + "color" : "\#909737",\ "separator" : false\ },\ + ${if_up enp0s25}\ {\ - "full_text" : "${fs_used_perc /} ",\ - "color" : "\#909737"\ - },\ - {\ - "full_text" : " IP",\ + "full_text" : "",\ "separator" : false\ },\ - ${if_up enp0s25}\ {\ - "full_text" : "${addr enp0s25} ",\ - "color" : "\#909737"\ + "full_text" : "${addr enp0s25}",\ + "color" : "\#909737",\ + "separator" : false\ },\ ${else}\ ${if_up wlp3s0}\ {\ - "full_text" : "${addr wlp3s0} ",\ - "color" : "\#909737"\ + "full_text" : "",\ + "separator" : false\ },\ - ${else}\ - ${if_up wwp0s29u1u4i6}\ {\ - "full_text" : "${addr wwp0s29u1u4i6} ",\ - "color" : "\#909737"\ + "full_text" : "${addr wlp3s0}",\ + "color" : "\#909737",\ + "separator" : false\ },\ ${else}\ + ${if_up wwp0s29u1u4i6}\ {\ - "full_text" : "No connection ",\ - "color" : "\#909737"\ + "full_text" : "${addr wwp0s29u1u4i6}",\ + "color" : "\#909737",\ + "separator" : false\ },\ ${endif}\ ${endif}\ ${endif}\ {\ - "full_text" : " Temp",\ + "full_text" : "",\ "separator" : false\ },\ {\ - "full_text" : "${acpitemp} ",\ - "color" : "\#909737"\ + "full_text" : "${acpitemp}°C",\ + "color" : "\#909737",\ + "separator" : false\ },\ {\ - "full_text" : " Fan",\ + "full_text" : "",\ "separator" : false\ },\ {\ - "full_text" : "${ibm_fan} ",\ - "color" : "\#909737"\ + "full_text" : "${ibm_fan}",\ + "color" : "\#909737",\ + "separator" : false\ },\ { \ - "full_text" : " RAM",\ + "full_text" : "",\ "separator" : false\ },\ {\ - "full_text" : "${memperc} ",\ - "color" : "\#909737"\ + "full_text" : "${memperc}%",\ + "color" : "\#909737",\ + "separator" : false\ },\ {\ - "full_text" : " Load",\ + "full_text" : "",\ "separator" : false\ },\ {\ - "full_text" : "${cpu cpu0} ",\ - "color" : "\#909737"\ + "full_text" : "${loadavg}",\ + "color" : "\#909737",\ + "separator" : false\ },\ + ${if_match "${exec upower -i /org/freedesktop/UPower/devices/battery_BAT0 | pcregrep -o1 '^[ ]*state:[ ]*([\w]+)'}" == "discharging"}\ {\ - "full_text" : " Battery",\ + "full_text" : "",\ "separator" : false\ },\ - ${if_match "${exec upower -i /org/freedesktop/UPower/devices/battery_BAT0 | pcregrep -o1 '^[ ]*state:[ ]*([\w]+)'}" == "discharging"}\ {\ - "full_text" : "${battery_percent}",\ + "full_text" : "${battery_percent}%",\ "color" : "\#909737",\ "separator" : false\ },\ @@ -98,7 +97,11 @@ TEXT },\ ${else}\ {\ - "full_text" : "${battery_percent} ",\ + "full_text" : "",\ + "separator" : false\ + },\ + {\ + "full_text" : "${battery_percent}% ",\ "color" : "\#909737"\ },\ ${endif}\ |