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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
conky.config = {
alignment = 'middle_middle',
background = true,
draw_borders = false,
draw_graph_borders = true,
border_width = 1,
border_outer_margin = 5,
stippled_borders = 6,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = '#555',
default_shade_color = 'black',
draw_outline = false,
draw_shades = true,
use_xft = true,
font = 'Iosevka Nerd Font:size=10',
gap_x = 1550,
gap_y = 200,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'override',
own_window_transparent = false,
own_window_hints = 'below,undecorated,skip_taskbar,skip_pager,sticky',
own_window_argb_visual = true,
own_window_argb_value = 200,
own_window_colour = '282828',
short_units = true,
update_interval = 1.0,
uppercase = false,
use_spacer = 'left',
pad_percents = 2,
show_graph_scale = false,
show_graph_range = false,
double_buffer = true,
lua_load = '~/.config/conky/scripts/conky_lua_scripts.lua',
color0 = '#e74c3c',
color1 = '#bdc3c7',
color3 = '#7a3900',
color4 = '#ff8a00',
color5 = '#ffe3a0',
color6 = '#bdc3c7',
color7 = '#ff8a00',
color8 = '#ffe3a0'
}
conky.text = [[
${color4}${alignr}
${color}${alignc}$sysname $kernel on $machine
${color}${alignc}${exec whoami} @ $nodename
${color0}$hr${color}
${alignc}${color0} ${color}${exec echo `echo $SEMESTER_THEME`}${color0} ${color}
${color0}$hr${color}
${color0}${alignc}
${alignc}${color}${time %d %B %A}
${voffset 1}
${color0}${offset 30}${alignr}${offset -30}
${color}$uptime${alignr} ${color}${time %k:%M:%S}
${voffset 1}
${color0}${alignc}
${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon1 temp 1}°C${alignr} ${color1}mobo ${color}${acpitemp}°C
${voffset 1}
${color0}${offset 3}${color}
${color1}/ ${color}${fs_bar 6, 130 /}${alignr}${fs_used /} /${fs_size /} ${color}
${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color}
${voffset 1}
${color0}${offset 3}${color}
${color1}down${color} ${downspeed eno1}/s${alignr}${color1}up${color} ${upspeed eno1}/s
${color}${downspeedgraph eno1 32,150 2980b9 e74c3c}${color} ${upspeedgraph eno1 32,150 2980b9 e74c3c}
${color1}address${color} ${addr eno1}${alignr}updates ${execi 3600 checkupdates | wc -l}
${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count}
${voffset 1}
${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'}
${voffset 1}
${color0}$stippled_hr${color}
${voffset 1}
${execp rem -cu}
${color4}${alignr}
]]
|