Conky up/downspeed


#1

Hi there,
finally I installed AL and thought it would be nice to add up-/downspeed to conky. Here’s how:

Determine wlan interface:
cat /proc/net/wireless
Output:
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
wlp3s0: 0000 58. -52. -256 0 0 0 0 6 0

By adding following lines to conky, speed are shown wether connected to ethernet or wireless:

${if_up wlp3s0}WiFi:${goto 60}Up${alignr}Down${else}Eth:${goto 60}Up${alignr}Down${endif}
Avg:${goto 60}${if_up wlp3s0}${upspeed wlp3s0}${alignr}${downspeed wlp3s0}${else}${upspeed eth0}${alignr}${downspeed eth0}${endif}

Screenshot:


#2

Nicee @entr0py