From 19eacbee96ce92e63a7dbefaff13aa4fda194353 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 26 Aug 2016 00:03:17 +0200 Subject: .config/conky/network: Updating to new configuration scheme. --- .config/conky/network | 83 ++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 40 deletions(-) (limited to '.config/conky') diff --git a/.config/conky/network b/.config/conky/network index 831970b..24dbe68 100644 --- a/.config/conky/network +++ b/.config/conky/network @@ -1,43 +1,45 @@ -background true -total_run_times 0 -update_interval 1 -own_window yes -own_window_class conky -own_window_title conky -own_window_type override -own_window_argb_visual true -own_window_argb_value 0 -own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager -double_buffer yes -draw_shades yes -draw_outline no -draw_borders no -draw_graph_borders no -alignment top_right -gap_x 280 -gap_y 40 -no_buffers yes -uppercase no -cpu_avg_samples 1 -net_avg_samples 1 -override_utf8_locale yes -color1 EAEAEA -color2 00FF66 -color3 11EAEA -color4 EAEAEA -color5 FF3F3F -color6 22FFFF -color7 FF8888 -text_buffer_size 512 -pad_percents 0 -short_units yes -format_human_readable yes -default_bar_size 115 5 -if_up_strictness link -xftfont Inconsolata:size=9 -use_xft +conky.config = { +background = true, +total_run_times = 0, +update_interval = 1, +own_window = true , +own_window_type = 'override', +own_window_argb_visual = true, +own_window_argb_value = 0, +own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager', +double_buffer = true, +draw_shades = true, +draw_outline = false, +draw_borders = false, +draw_graph_borders = false, +alignment = 'top_right', +minimum_width = 260, +gap_x = 330, +gap_y = 40, +no_buffers = true, +uppercase = false, +cpu_avg_samples = 1, +net_avg_samples = 1, +override_utf8_locale = true, +color1 = 'EAEAEA', +color2 = '00FF66', +color3 = '11EAEA', +color4 = 'EAEAEA', +color5 = 'FF3F3F', +color6 = '22FFFF', +color7 = 'FF8888', +text_buffer_size = 512, +pad_percents = 0, +short_units = true, +format_human_readable = true, +default_bar_height = 5, +default_bar_width = 200, +if_up_strictness = 'link', +font = 'Inconsolata:size=9', +use_xft = true, +} -TEXT +conky.text = [[ ${color5}Network:\ ${if_up wlp3s0} ${color3}wlp3s0: ${color1}${addr wlp3s0} @@ -67,4 +69,5 @@ ${color3}sleepmap: ${color1}${execpi 30 systemctl is-active openvpn@sleepmap} ${color3}secure: ${color1}${execpi 30 systemctl is-active openvpn@secure} ${color5}Connections: -${execpi 1 lsof -ni| grep ESTABLISHED| grep -v 127.0.0.1| awk '{print "${color3}"$1,"${color1}"$9;}' } +${execpi 5 lsof -ni| grep ESTABLISHED| grep -v 127.0.0.1| awk '{print "${color3}"$1,"${color1}"$9;}' } +]] -- cgit v1.2.3-70-g09d2