Add timeout to conky ping indicator
This commit is contained in:
parent
7de5f862cb
commit
396fb9ac6e
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ ${color2}vpn:$color $alignr${execi 2 expressvpn status | grep -Po 'Not connected
|
||||||
#${color2}ip:$color $alignr${execi 2 ~/.bin/location}
|
#${color2}ip:$color $alignr${execi 2 ~/.bin/location}
|
||||||
#
|
#
|
||||||
${color3}Ping $hr
|
${color3}Ping $hr
|
||||||
${color2}Google: $color$alignr${execi 2 ping google.de -c 1 | grep -Po '(?<=time=).*'}
|
${color2}Google: $color$alignr${execi 2 timeout 1 ping google.de -c 1 | grep -Po '(?<=time=).*'}
|
||||||
${color2}Server: $color$alignr${execi 2 ping darkwiiplayer.com -c 1 | grep -Po '(?<=time=).*'}
|
${color2}Server: $color$alignr${execi 2 timeout 1 ping darkwiiplayer.com -c 1 | grep -Po '(?<=time=).*'}
|
||||||
#
|
#
|
||||||
${color3}CPU $hr
|
${color3}CPU $hr
|
||||||
$color$cpu%$color2 CPU Usage
|
$color$cpu%$color2 CPU Usage
|
||||||
|
|
Loading…
Reference in a new issue