From c00a53e7d39c8a9ed2baf6978c70e2e87e7a8372 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 25 Oct 2016 10:36:10 +0200 Subject: .config/conky/: Removing old configs. Moving the used to named .conf files. --- .config/conky/bottom | 47 ----------------- .config/conky/general | 109 --------------------------------------- .config/conky/network | 73 -------------------------- .config/conky/right | 97 ---------------------------------- .config/conky/top | 47 ----------------- .config/conky/trvlr-general.conf | 109 +++++++++++++++++++++++++++++++++++++++ .config/conky/trvlr-network.conf | 73 ++++++++++++++++++++++++++ 7 files changed, 182 insertions(+), 373 deletions(-) delete mode 100755 .config/conky/bottom delete mode 100644 .config/conky/general delete mode 100644 .config/conky/network delete mode 100755 .config/conky/right delete mode 100755 .config/conky/top create mode 100644 .config/conky/trvlr-general.conf create mode 100644 .config/conky/trvlr-network.conf (limited to '.config/conky') diff --git a/.config/conky/bottom b/.config/conky/bottom deleted file mode 100755 index aa2f13b..0000000 --- a/.config/conky/bottom +++ /dev/null @@ -1,47 +0,0 @@ -use_xft yes -xftfont 123:size=8 -xftalpha 0.1 -background true -update_interval 0.1 -total_run_times 0 -own_window yes -own_window_type override -own_window_argb_visual true -own_window_argb_value 100 -own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager -double_buffer yes -draw_shades no -draw_outline no -draw_borders no -draw_graph_borders no -default_color white -default_shade_color 222222 -default_outline_color green -alignment bottom_left -minimum_size 1920 30 -#maximum_width 160 -gap_x 0 -gap_y -10 -no_buffers yes -uppercase no -cpu_avg_samples 1 -net_avg_samples 1 -override_utf8_locale yes -use_spacer left -color1 EAEAEA -color2 00FF66 -color3 11EAEA -color4 EAEAEA -color5 FFA300 -color6 22FFFF -color7 FF8888 -text_buffer_size 256 -pad_percents 0 -short_units yes -format_human_readable yes -default_bar_size 100 6 -if_up_strictness link -draw_shades yes - -TEXT -${font Terminus:pixelsize=14}${color1} CPU: ${color3}${cpu cpu0}% ${goto 110}${color1}Memory: ${color3}[$memmax] $mem / $buffers / $cached ${goto 440}${color1}HD: ${color3}$diskio ${goto 540}${color1}Network: ${color3}${downspeedf wlp3s0} KB / ${upspeedf wlp3s0} KB ${goto 1750}${color5} ${time %H:%M:%S %d-%m-%Y} diff --git a/.config/conky/general b/.config/conky/general deleted file mode 100644 index 212cd2f..0000000 --- a/.config/conky/general +++ /dev/null @@ -1,109 +0,0 @@ -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', -maximum_width = 260, -gap_x = 10, -gap_y = 40, -no_buffers = yes, -uppercase = false, -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 = true, -format_human_readable = true, -default_bar_height = 5, -default_bar_width = 200, -if_up_strictness = 'link', -font = 'Inconsolata:size=9', -use_xft = true -} - -conky.text = [[ -${color5}Kernel: ${color1}${kernel} -${color5}Date: ${color1}${time %Y%m%d} -${color5}Time: ${color1}${time %H:%M:%S} -${if_existing /etc/hostname trvlr} -${color5}CPU: -${color3}${cpubar cpu1} -${color3}${cpubar cpu2} -${color3}${cpubar cpu3} -${color3}${cpubar cpu4} -${color3}Frequency: ${color1}${freq} Mhz -${endif}\ -${if_existing /etc/hostname dvzrv} -${color5}CPU: -${color3}${cpubar cpu1} -${color3}${cpubar cpu2} -${color3}${cpubar cpu3} -${color3}${cpubar cpu4} -${color3}${cpubar cpu5} -${color3}${cpubar cpu6} -${color3}${cpubar cpu7} -${color3}${cpubar cpu8} -${color3}Frequency: ${color1}${freq} Mhz -${endif}\ - -${color5}Memory: ${color1}$memwithbuffers/ $cached/ $memmax -${color3}$membar - -${color5}Load: ${color1}${loadavg} - -${if_existing /etc/hostname trvlr}\ -${color5}Battery: ${color1} ${battery_short} (${battery_time}) -${color3}${battery_bar} -${endif}\ - -\ -${color5}I/O: -${color3}/dev/sda: ${color1}${diskio /dev/sda} -${if_existing /dev/sdb}\ -${color3}/dev/sdb: ${color1}${diskio /dev/sdb} -${endif}\ -${if_existing /dev/sdc}\ -${color3}/dev/sdc: ${color1}${diskio /dev/sdc} -${endif}\ -${if_existing /dev/sdd}\ -${color3}/dev/sdd: ${color1}${diskio /dev/sdd} -${endif}\ -${if_existing /dev/sde}\ -${color3}/dev/sde: ${color1}${diskio /dev/sde} -${endif}\ - -${color5}Mail: -${color3}dave@sleepmap.de: ${color1}${unseen_mails /home/dave/Mail/sleepmap.de/INBOX 30}/${seen_mails /home/dave/Mail/sleepmap.de/INBOX 30} -${color3}dave@c-base.org: ${color1}${unseen_mails /home/dave/Mail/c-base.org/INBOX 30}/${seen_mails /home/dave/Mail/c-base.org/INBOX 30} -${color3}davezerave@tu-berlin.de: ${color1}${unseen_mails /home/dave/Mail/tu-berlin.de/INBOX 30}/${seen_mails /home/dave/Mail/tu-berlin.de/INBOX 30} - -${color5}Processes: -${color3}${top name 1} ${color1}${top cpu 1} ${top mem 1} ${top pid 1} ${top user 1} -${color3}${top name 2} ${color1}${top cpu 2} ${top mem 2} ${top pid 2} ${top user 2} -${color3}${top name 3} ${color1}${top cpu 3} ${top mem 3} ${top pid 3} ${top user 3} -${color3}${top name 4} ${color1}${top cpu 4} ${top mem 4} ${top pid 4} ${top user 4} -${color3}${top name 5} ${color1}${top cpu 5} ${top mem 5} ${top pid 5} ${top user 5} -${color3}${top name 6} ${color1}${top cpu 6} ${top mem 6} ${top pid 6} ${top user 6} -${color3}${top name 7} ${color1}${top cpu 7} ${top mem 7} ${top pid 7} ${top user 7} -${color3}${top name 8} ${color1}${top cpu 8} ${top mem 8} ${top pid 8} ${top user 8} -${color3}${top name 9} ${color1}${top cpu 9} ${top mem 9} ${top pid 9} ${top user 9} -${color3}${top name 10} ${color1}${top cpu 10} ${top mem 10} ${top pid 10} ${top user 10} -]] diff --git a/.config/conky/network b/.config/conky/network deleted file mode 100644 index 24dbe68..0000000 --- a/.config/conky/network +++ /dev/null @@ -1,73 +0,0 @@ -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, -} - -conky.text = [[ -${color5}Network:\ -${if_up wlp3s0} -${color3}wlp3s0: ${color1}${addr wlp3s0} -${color3}essid: ${color1}${wireless_essid wlp3s0} -${color3}ext: ${color1}${execpi 360 dig +short myip.opendns.com @resolver1.opendns.com} -${color3}gway: ${color1}${exec route -n | grep wlp3s0 | grep UG | awk '{print $2}'} -${color3}dns: ${color1}${nameserver 0} -${color3}speed: ${color1}${exec iwconfig wlp3s0 | grep "Bit Rate" | cut -d"=" -f2 | cut -d" " -f1} Mb/s -${color3}frq: ${color1}${wireless_freq wlp3s0} -${color3}channel: ${color1}${wireless_channel wlp3s0} -${color3}quality: ${color1}${wireless_link_qual wlp3s0} -${color3}level: ${color1}${exec iwconfig wlp3s0 | grep "Signal" | cut -d"=" -f3 } -${color3}rate: ${color1}${downspeed wlp3s0} / ${upspeed wlp3s0}\ - -${endif}\ -${if_up enp0s25} -${color3}enp0s25: ${color1}${addr enp0s25} -${color3}external: ${color1}${execpi 360 wget -qO- http://ipecho.net/plain} -${color3}gateway: ${color1}${exec route -n | grep enp0s25 | grep UG |awk '{print $2}'} -${color3}dns: ${color1}${nameserver 0} -${color3}rate: ${color1}${downspeed enp0s25} / ${upspeed enp0s25}\ - -${endif}\ - -${color5}OpenVPN: -${color3}sleepmap: ${color1}${execpi 30 systemctl is-active openvpn@sleepmap} -${color3}secure: ${color1}${execpi 30 systemctl is-active openvpn@secure} - -${color5}Connections: -${execpi 5 lsof -ni| grep ESTABLISHED| grep -v 127.0.0.1| awk '{print "${color3}"$1,"${color1}"$9;}' } -]] diff --git a/.config/conky/right b/.config/conky/right deleted file mode 100755 index b6c4d25..0000000 --- a/.config/conky/right +++ /dev/null @@ -1,97 +0,0 @@ -use_xft yes -xftfont 123:size=8 -xftalpha 0.1 -background true -total_run_times 0 -own_window yes -own_window_type override -update_interval 1 -own_window_argb_visual true -own_window_argb_value 100 -own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager -double_buffer yes -draw_shades no -draw_outline no -draw_borders no -draw_graph_borders no -default_color white -default_shade_color 222222 -default_outline_color green -alignment top_right -minimum_size 100 1020 -#maximum_width 160 -gap_x 0 -gap_y 30 -no_buffers yes -uppercase no -cpu_avg_samples 1 -net_avg_samples 1 -override_utf8_locale yes -use_spacer left -color1 EAEAEA -color2 00FF66 -color3 11EAEA -color4 EAEAEA -color5 FFA300 -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 -draw_shades yes - -TEXT -${font Inconsolata:pixelsize=12}${color5} ${kernel} -${color1} ${loadavg} - -${color5} ${time %H:%M:%S %d-%m-%Y} - -${color5} CPU: ${color3}${freq} Mhz -${color5} total: ${color3}${cpubar cpu0} -${color1} 1: ${color3}${cpubar cpu1} -${color1} 2: ${color3}${cpubar cpu2} -${color1} 3: ${color3}${cpubar cpu3} -${color1} 4: ${color3}${cpubar cpu4} -${color1} 5: ${color3}${cpubar cpu5} -${color1} 6: ${color3}${cpubar cpu6} -${color1} 7: ${color3}${cpubar cpu7} -${color1} 8: ${color3}${cpubar cpu8} - -${color5} Memory: ${color3}$memmax -${color1} in use: ${color3}$mem -${color1} buffer: ${color3}$buffers -${color1} cached: ${color3}$cached - -${color5} HD: -${color1}/dev/sda: ${color3}${diskio /dev/sda} -${color1}/dev/sdb: ${color3}${diskio /dev/sdb} - -${color5} Network: -${if_up wlp3s0} -${color1} net: ${color3}${exec iwgetid | cut -d ":" -f2} -${color1} wlp3s0: ${color3}${addr wlp3s0} -${color1} ext: ${color3}${exec dig +short myip.opendns.com @resolver1.opendns.com} -${color1} gway: ${color3}${exec route -n | grep wlp3s0 | grep UG | awk '{print $2}'} -${color1} dns: ${color3}${exec grep "nameserver" /etc/resolv.conf | awk '{print $2}'} -${color1} speed: ${color3}${exec iwconfig wlp3s0 | grep "Bit Rate" | cut -d"=" -f2 | cut -d" " -f1} Mb/s -${color1} frq: ${color3}${exec iwconfig wlp3s0 | grep "Frequency" | cut -d":" -f3 | cut -d " " -f1} GHz -${color1} qual: ${color3}${exec iwconfig wlp3s0 | grep "Quality" | cut -d"=" -f2 | cut -d" " -f1 } -${color1} level: ${color3}${exec iwconfig wlp3s0 | grep "Signal" | cut -d"=" -f3 } -${color1} rate: ${color3}${downspeed wlp3s0} / ${upspeed wlp3s0} -${endif} -${if_up enp0s25} -${color1}enp0s25: ${color3}${addr enp0s25} -${color1} ext: ${color3}${exec dig +short myip.opendns.com @resolver1.opendns.com} -${color1} gway: ${color3}${exec route -n | grep enp0s25 | grep UG |awk '{print $2}'} -${color1} dns: ${color3}${exec grep "nameserver" /etc/resolv.conf | awk '{print $2}'} -${color1} rate: ${color3}${downspeed enp0s25} / ${upspeed enp0s25} -${endif} - -${color5} Process: -${color1}${execi 1 ps ax -o pcpu,comm,%mem --sort=-c | head -n 12 | tail -n 14} - -${color5} Connections: -${color1}${execpi 1 netstat --protocol=inet 2>/dev/null | grep -v localhost | grep ESTABLISHED | head -n 9 | sed -n "s/tcp.*\:.*\ \(.*\)\:\([^ ]*\)\ \(.*\)/ \$\{color2\}\2:\$\{color1\}\1/p" | sort | uniq } diff --git a/.config/conky/top b/.config/conky/top deleted file mode 100755 index 257be2a..0000000 --- a/.config/conky/top +++ /dev/null @@ -1,47 +0,0 @@ -use_xft yes -xftfont 123:size=8 -xftalpha 0.1 -background true -update_interval 0.1 -total_run_times 0 -own_window yes -own_window_type override -own_window_argb_visual true -own_window_argb_value 100 -own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager -double_buffer yes -draw_shades no -draw_outline no -draw_borders no -draw_graph_borders no -default_color white -default_shade_color 222222 -default_outline_color green -alignment top_left -minimum_size 1920 15 -#maximum_width 160 -gap_x 0 -gap_y 5 -no_buffers yes -uppercase no -cpu_avg_samples 1 -net_avg_samples 1 -override_utf8_locale yes -use_spacer left -color1 EAEAEA -color2 00FF66 -color3 11EAEA -color4 EAEAEA -color5 FFA300 -color6 22FFFF -color7 FF8888 -text_buffer_size 256 -pad_percents 0 -short_units yes -format_human_readable yes -default_bar_size 40 6 -if_up_strictness link -draw_shades yes - -TEXT -${font Terminus:pixelsize=14}${color2}[ ${color3}${exec ~/ownCloud/sys-pref/conky-helpers/get-tag.sh} ${color5}${exec ~/ownCloud/sys-pref/conky-helpers/get-layout.sh}${color2} ]${color1} ${goto 500}Music: ${color1}[ ${color5}${mpd_elapsed}${color1} / ${color5}${mpd_length}${color1} ] ${color2}${mpd_status} ${color3}${if_match "${mpd_artist}" == ""}${mpd_file}${endif}${if_match "${mpd_artist}" != ""}${mpd_artist}${color1} - ${color3}${mpd_title}${endif}${image ~/ownCloud/sys-pref/conky-icons/volume.png -s 12x12 -n -p 1584,1}${goto 1605}${color3}${execbar pamixer --get-volume} ${image ~/ownCloud/sys-pref/conky-icons/brightness.png -s 12x12 -n -p 1657,1}${goto 1680}${color3}${execbar xbacklight} diff --git a/.config/conky/trvlr-general.conf b/.config/conky/trvlr-general.conf new file mode 100644 index 0000000..212cd2f --- /dev/null +++ b/.config/conky/trvlr-general.conf @@ -0,0 +1,109 @@ +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', +maximum_width = 260, +gap_x = 10, +gap_y = 40, +no_buffers = yes, +uppercase = false, +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 = true, +format_human_readable = true, +default_bar_height = 5, +default_bar_width = 200, +if_up_strictness = 'link', +font = 'Inconsolata:size=9', +use_xft = true +} + +conky.text = [[ +${color5}Kernel: ${color1}${kernel} +${color5}Date: ${color1}${time %Y%m%d} +${color5}Time: ${color1}${time %H:%M:%S} +${if_existing /etc/hostname trvlr} +${color5}CPU: +${color3}${cpubar cpu1} +${color3}${cpubar cpu2} +${color3}${cpubar cpu3} +${color3}${cpubar cpu4} +${color3}Frequency: ${color1}${freq} Mhz +${endif}\ +${if_existing /etc/hostname dvzrv} +${color5}CPU: +${color3}${cpubar cpu1} +${color3}${cpubar cpu2} +${color3}${cpubar cpu3} +${color3}${cpubar cpu4} +${color3}${cpubar cpu5} +${color3}${cpubar cpu6} +${color3}${cpubar cpu7} +${color3}${cpubar cpu8} +${color3}Frequency: ${color1}${freq} Mhz +${endif}\ + +${color5}Memory: ${color1}$memwithbuffers/ $cached/ $memmax +${color3}$membar + +${color5}Load: ${color1}${loadavg} + +${if_existing /etc/hostname trvlr}\ +${color5}Battery: ${color1} ${battery_short} (${battery_time}) +${color3}${battery_bar} +${endif}\ + +\ +${color5}I/O: +${color3}/dev/sda: ${color1}${diskio /dev/sda} +${if_existing /dev/sdb}\ +${color3}/dev/sdb: ${color1}${diskio /dev/sdb} +${endif}\ +${if_existing /dev/sdc}\ +${color3}/dev/sdc: ${color1}${diskio /dev/sdc} +${endif}\ +${if_existing /dev/sdd}\ +${color3}/dev/sdd: ${color1}${diskio /dev/sdd} +${endif}\ +${if_existing /dev/sde}\ +${color3}/dev/sde: ${color1}${diskio /dev/sde} +${endif}\ + +${color5}Mail: +${color3}dave@sleepmap.de: ${color1}${unseen_mails /home/dave/Mail/sleepmap.de/INBOX 30}/${seen_mails /home/dave/Mail/sleepmap.de/INBOX 30} +${color3}dave@c-base.org: ${color1}${unseen_mails /home/dave/Mail/c-base.org/INBOX 30}/${seen_mails /home/dave/Mail/c-base.org/INBOX 30} +${color3}davezerave@tu-berlin.de: ${color1}${unseen_mails /home/dave/Mail/tu-berlin.de/INBOX 30}/${seen_mails /home/dave/Mail/tu-berlin.de/INBOX 30} + +${color5}Processes: +${color3}${top name 1} ${color1}${top cpu 1} ${top mem 1} ${top pid 1} ${top user 1} +${color3}${top name 2} ${color1}${top cpu 2} ${top mem 2} ${top pid 2} ${top user 2} +${color3}${top name 3} ${color1}${top cpu 3} ${top mem 3} ${top pid 3} ${top user 3} +${color3}${top name 4} ${color1}${top cpu 4} ${top mem 4} ${top pid 4} ${top user 4} +${color3}${top name 5} ${color1}${top cpu 5} ${top mem 5} ${top pid 5} ${top user 5} +${color3}${top name 6} ${color1}${top cpu 6} ${top mem 6} ${top pid 6} ${top user 6} +${color3}${top name 7} ${color1}${top cpu 7} ${top mem 7} ${top pid 7} ${top user 7} +${color3}${top name 8} ${color1}${top cpu 8} ${top mem 8} ${top pid 8} ${top user 8} +${color3}${top name 9} ${color1}${top cpu 9} ${top mem 9} ${top pid 9} ${top user 9} +${color3}${top name 10} ${color1}${top cpu 10} ${top mem 10} ${top pid 10} ${top user 10} +]] diff --git a/.config/conky/trvlr-network.conf b/.config/conky/trvlr-network.conf new file mode 100644 index 0000000..24dbe68 --- /dev/null +++ b/.config/conky/trvlr-network.conf @@ -0,0 +1,73 @@ +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, +} + +conky.text = [[ +${color5}Network:\ +${if_up wlp3s0} +${color3}wlp3s0: ${color1}${addr wlp3s0} +${color3}essid: ${color1}${wireless_essid wlp3s0} +${color3}ext: ${color1}${execpi 360 dig +short myip.opendns.com @resolver1.opendns.com} +${color3}gway: ${color1}${exec route -n | grep wlp3s0 | grep UG | awk '{print $2}'} +${color3}dns: ${color1}${nameserver 0} +${color3}speed: ${color1}${exec iwconfig wlp3s0 | grep "Bit Rate" | cut -d"=" -f2 | cut -d" " -f1} Mb/s +${color3}frq: ${color1}${wireless_freq wlp3s0} +${color3}channel: ${color1}${wireless_channel wlp3s0} +${color3}quality: ${color1}${wireless_link_qual wlp3s0} +${color3}level: ${color1}${exec iwconfig wlp3s0 | grep "Signal" | cut -d"=" -f3 } +${color3}rate: ${color1}${downspeed wlp3s0} / ${upspeed wlp3s0}\ + +${endif}\ +${if_up enp0s25} +${color3}enp0s25: ${color1}${addr enp0s25} +${color3}external: ${color1}${execpi 360 wget -qO- http://ipecho.net/plain} +${color3}gateway: ${color1}${exec route -n | grep enp0s25 | grep UG |awk '{print $2}'} +${color3}dns: ${color1}${nameserver 0} +${color3}rate: ${color1}${downspeed enp0s25} / ${upspeed enp0s25}\ + +${endif}\ + +${color5}OpenVPN: +${color3}sleepmap: ${color1}${execpi 30 systemctl is-active openvpn@sleepmap} +${color3}secure: ${color1}${execpi 30 systemctl is-active openvpn@secure} + +${color5}Connections: +${execpi 5 lsof -ni| grep ESTABLISHED| grep -v 127.0.0.1| awk '{print "${color3}"$1,"${color1}"$9;}' } +]] -- cgit v1.2.3-70-g09d2