aboutsummaryrefslogtreecommitdiffstats
path: root/.config/conky/network
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-08-26 00:03:17 +0200
committerDavid Runge <dave@sleepmap.de>2016-08-26 00:03:17 +0200
commit19eacbee96ce92e63a7dbefaff13aa4fda194353 (patch)
tree9413500dda38cd9c867d7562c93fd8ab3b836f9b /.config/conky/network
parent30b503112bbcacd668d65e36fb7a09576656e902 (diff)
downloaddotfiles-19eacbee96ce92e63a7dbefaff13aa4fda194353.tar.gz
dotfiles-19eacbee96ce92e63a7dbefaff13aa4fda194353.tar.bz2
dotfiles-19eacbee96ce92e63a7dbefaff13aa4fda194353.tar.xz
dotfiles-19eacbee96ce92e63a7dbefaff13aa4fda194353.zip
.config/conky/network: Updating to new configuration scheme.
Diffstat (limited to '.config/conky/network')
-rw-r--r--.config/conky/network83
1 files changed, 43 insertions, 40 deletions
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;}' }
+]]