-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconky.conf
145 lines (131 loc) · 7.37 KB
/
conky.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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
--[[
# Minimalis Conky 1.3
# Author : Seraph4
# Release date : 3 April 2021
# Tested on : Manjaro - KDE PLASMA Desktop
# Feel free to modity this script ;)
Seraph4 - https://github.com/Angel-Seraph4
]]
conky.config = {
background = true,
use_xft = true,
font = 'SF PRO:size=9',
xftalpha = 0.8,
update_interval = 0.5,
total_run_times = 0,
own_window = true,
color1 = '#1793d1',
own_window_transparent = true,
own_window_type = 'normal',
own_window_class = 'conky',
own_window_argb_visual = true,
-- own_window_colour = '#263041',
-- own_window_argb_value = 20,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
stippled_borders = 1,
border_width = 1,
default_color = 'white',
default_shade_color = 'gray',
default_outline_color = 'black',
alignment = 'top_right',
gap_x = 5,
gap_y = 0,
-- Misc Console #
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
no_buffers = true,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'right',
maximum_width = 400,
minimum_height = 800,
uppercase = true,
update_interval = 0.5,
};
conky.text = [[
#leet chars: ┤┤└└┴┴┐┐││┘┘┌┌├├┬┬┼┼┴┴── ││ ▽▼△▲▵▴▾▿
${alignc}${offset 86}${font xftfont montserrat:size=10} ${font}
${alignr}${offset -6}└──────────┐
${alignr}${offset -6}${font Roboto:pixelsize=12}${execi 130000 awk -F= '/ID=/{printf $2" "} /RELEASE=/{printf $2" "} /NAME=/{print $2}' /etc/lsb-release} ${machine} ─┤
${alignr}${offset -6}< ${kernel} > Kernel ─┤ │
${alignr}${offset -6}< ${uptime} > ${font StyleBats:size=10}q${font}Uptime ─┤ │
${alignr}${offset -6}< ${color1}${color} ${exec plasmashell -v} > PLASMA ─┤ │
${alignr}${offset -6}< ${color1}${color} ${exec pacman -Q xorg-server} > XORG ─┤ │
${alignr}${offset -6}< ${color1}${color} ${exec cat /etc/pacman-mirrors.conf | grep -i ^branch} > REPO ─┤ │
${alignr}${offset -6}< ${color}${execi 108000 ls -lct --time-style=+"%d-%m-%Y" /etc | tail -1 | awk '{print $6}'} > Instalado ─┤ │
${alignr}${offset -6}< ${execi 560 dnf -q check-update | sed '/^$/d' | wc -l | tail} > updates ─┘ │
${alignr}${offset -6}│
${alignr}${offset -6}system ─┤
${alignr}${offset -6}< ${execi 1000 cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-39} > CPU ─┤ │
${alignr}${offset -6}│ │ │
${alignr}${offset -6}< ${freq 0} MHz > uso ─┤ │ │
${alignr}${offset -6}< ${cpu cpu 1}% >${cpubar cpu1 7,60} cpu1 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 2}% >${cpubar cpu2 7,60} cpu2 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 3}% >${cpubar cpu3 7,60} cpu3 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 4}% >${cpubar cpu4 7,60} cpu4 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 5}% >${cpubar cpu5 7,60} cpu5 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 6}% >${cpubar cpu6 7,60} cpu6 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 7}% >${cpubar cpu7 7,60} cpu7 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 8}% >${cpubar cpu8 7,60} cpu8 ─┘ │ │ │
${alignr}${offset -6}│ │ │
${alignr}${offset -6}< $loadavg > load ─┤ │ │
${alignr}${offset -6}< ${top name 1} ${top cpu 1} > ─┤ │ │
${alignr}${offset -6}< ${top name 2} ${top cpu 2} > ─┤ │ │
${alignr}${offset -6}< ${top name 3} ${top cpu 3} > ─┤ │ │
${alignr}${offset -6}< ${top name 4} ${top cpu 4} > ─┤ │ │
${alignr}${offset -6}< ${top name 5} ${top cpu 5} > ─┘ │ │
${alignr}${offset -6}│ │
${alignr}${offset -6}Processos ─┤ │
${alignr}${offset -6}< $processes > ─ < $running_processes > ─┘ │ │
${alignr}${offset -6}│ │
${alignr}${offset -6}Temperatura ─┤ │
${alignr}${offset -6}< ${execi 5 sensors|grep 'Package id 0:'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C > cpu ─┤ │ │
${alignr}${offset -6}< ${execi 5 nvidia-settings -t -q [gpu]/GPUCoreTemp} °C > gpu ─┤ │ │
${alignr}${offset -6}< ${exec hddtemp /dev/sda3|awk '{print $NF}'}> hd ──┘ │ │
${alignr}${offset -6}│ │
${alignr}${offset -6}Memoria ─┤ │
${alignr}${offset -6}< $memperc% > em uso ─┤ │ │
${alignr}${offset -6}< $mem/$memmax > ─┘ │ │ │
${alignr}${offset -6}< ${top name 1} ${top mem 1} > ─┤ │ │
${alignr}${offset -6}< ${top name 2} ${top mem 2} > ─┤ │ │
${alignr}${offset -6}< ${top name 3} ${top mem 3} > ─┤ │ │
${alignr}${offset -6}< ${top name 4} ${top mem 4} > ─┤ │ │
${alignr}${offset -6}< ${top name 5} ${top mem 5} > ─┘ │ │
${alignr}${offset -6}│ │
${alignr}${offset -6}Disco Uso ─┘ │
${alignr}${offset -6}< $diskio_read > Leitura ─┤ │
${alignr}${offset -6}< $diskio_write > GravaÇao ─┤ │
${alignr}${offset -6}< ${fs_used /}/${fs_size /} > /root ─┤ │
${alignr}${offset -6}< ${fs_bar 9,108 /} > ─┘ │ │
${alignr}${offset -6}< ${fs_used /run/media/seraph4/67E6-FF11}/${fs_size /run/media/seraph4/67E6-FF11} > /HD ─┘ │
${alignr}${offset -6}< ${fs_bar 9,110 /run/media/seraph4/67E6-FF11} > ─┘ │
${offset 240}< ${tcp_portmon 1 65535 count} >${alignr}${offset -6} Network ─┘
${alignr}${offset -32}${font StyleBats:size=10}i${font} $nodename > hostname ─┤
${alignr}${offset -32}< ${execi 500 wget -qO- http://www.icanhazip.com/} > Wan ─┤
${alignr}${offset -32}< ${addr wlp2s0} > Lan ─┤
${alignr}${offset -32}<${downspeed wlp2s0}> download ────┤
${alignr}${offset -32}< ${downspeedgraph wlp2s0 12,120 136311 11B014} > ─┘ │
${alignr}${offset -32}<${upspeed wlp2s0}> upload ──────┘
${alignr}${offset -55}< ${upspeedgraph wlp2s0 12,120 BA0B0B FC0707} > ─┘
${font ConkySymbols:size=11}b${font} ${color}${wireless_essid wlp2s0} - Sinal:${color}${wireless_link_qual_perc wlp2s0}${color 82ea02}${wireless_link_bar 5,55 wlp2s0}
${color}${goto 32} ├─Hoje ${goto 150} ─Ontem ${font GE Inspira:size=10} Semana (Mes) ${color green}
${execi 500 vnstat -i wlp2s0 | grep "today" | awk '{print $8" "substr ($9, 1, 1)}'} ${goto 113}${offset 38}${execi 500 vnstat -i wlp2s0 | grep "yesterday" | awk '{print $8" "substr ($9, 1, 1)}'}
${offset 220} ${voffset -34} ${execi 200 vnstat -i wlp2s0 -d --begin $(date --date="next Monday -1 week" +"%Y-%m-%d") --end $(date +"%Y-%m-%d") | grep "sum of" | awk '{print $10 $11}'}
${offset 300} ${voffset -16} ${font Roboto:pixelsize=11}${execi 60 vnstat -i wlp2s0 --oneline | cut -d\; -f11}
${offset 17}${alignc}${color b30505}${font :BOLD:size=9}${offset -30}${execi 200 vnstat -i wlp2s0 | grep total:}
${image ~/.config/conky/img/trafic.png -s 16x16 -p 288,826}
${image ~/.config/conky/img/arch_logo.png -p 270,0 117x27}
${image ~/.config/conky/img/intel3.png -p 228,0 35x17}
${image ~/.config/conky/img/cpu2.png -p 299,164 20x19}
${image ~/.config/conky/img/spacer.png -p 180,153 194x4}
${image ~/.config/conky/img/spacer.png -p 120,959 194x4}
${image ~/.config/conky/img/spacer.png -p 120,1032 194x4}
${image ~/.config/conky/img/seta1.png -p 129,31 15x13}
]];