-
Notifications
You must be signed in to change notification settings - Fork 11
/
connections_graph.conf
45 lines (38 loc) · 1.4 KB
/
connections_graph.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
conky.config = {
update_interval=1,
background=false,
own_window_transparent=true,
text_buffer_size=2048,
double_buffer=true,
no_buffers=true,
use_xft=true,
font='monospace:pixelsize=11',
draw_shades=false,
override_utf8_locale=true,
own_window=true,
own_window_type='override',
own_window_class='Conky',
own_window_argb_visual=false,
own_window_hints='undecorated,below,sticky,skip_taskbar,skip_pager',
draw_graph_borders=false,
default_color = '#a5adff',
alignment = 'top_left',
gap_x = 60,
gap_y = 90,
minimum_width = 580, minimum_height = 150,
maximum_width = 580,
};
conky.text = [[
${goto 415}${color ea4335}DWN SPD
${goto 415}${downspeedf wlo1} KiB${color}
${voffset -40}${downspeedgraph wlo1 60,400 330106 ea4335 scale 975KiB -l -t}
${goto 415}${color ffffff}UPL SPD
${goto 415}${upspeedf wlo1} KiB${color}
${voffset -45}${upspeedgraph wlo1 60,400 14151f ffffff scale 100KiB -l -t}
${texeci 72 speedtest-cli --simple > ~/blood-and-milk/.speeds 2>&1}
${color #ea4335}${execpi 60 cat ~/blood-with-milk/.speeds | sed -e 's/Ping/PNG/' -e 's/Download/DWN/' -e 's/Upload/UPL/' -e 's/$/ /' | tr '\n' ' '}
${color #ea4335}${execi 60 ip route}
IP addres ${execi 60 curl ifconfig.me/ip | head -n 1}
UPTIME: ${uptime}
SSH ${tcp_portmon 22 22 rip 0}
]];