-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.conkyrc
129 lines (121 loc) · 6.23 KB
/
.conkyrc
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
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2019 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
alignment = 'top_right',
background = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=9',
gap_x = 1,
gap_y = 1,
minimum_height = 5,
minimum_width = 300,
maximum_width = 300,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_argb_value = 100,
own_window_argb_visual = true,
own_window_class = 'Conky',
own_window_colour = '#000000',
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
own_window_type = 'normal',
own_window_transparent = true,
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
}
conky.text = [[
${color blue}Info:$color ${scroll 31 ~CHCLXDS~ - $sysname $nodename $kernel}
$hr
${color blue}Date:$color ${time %d/%m/%Y}$alignr${color blue}Time:$color ${time %H:%M:%S}
${color blue}Uptime:$color $uptime
${color blue}CPU:$color ${execi 6500 cat /proc/cpuinfo | grep -i 'model name' -m 1 | cut -c14-40}
${color blue}Frequency (in MHz):$color $freq$alignr${color blue} (in GHz):$color $freq_g
${color blue}CPU Temp: $color${acpitemp}°C
${color blue}Processes:$color $processes ${color blue}Running:$color $running_processes
${color blue}CPU0 Usage:$color ${cpu cpu0}% ${cpubar cpu0 12}
${color blue}CPU1:$color ${cpu cpu1}% ${cpubar cpu1 12,75} $alignr${color blue}CPU2:$color ${cpu cpu2}% ${cpubar cpu2 12,75}
${color blue}CPU3:$color ${cpu cpu3}% ${cpubar cpu3 12,75} $alignr${color blue}CPU4:$color ${cpu cpu4}% ${cpubar cpu4 12,75}
${color blue}RAM Usage:$color $mem/$memmax - $memperc% ${membar 12}
${color blue}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 12}
$hr
${color blue}Battery:$color ${battery_percent BAT1}% ${battery_bar 12 BAT1}
${color blue}ACPI$alignr$color${acpiacadapter}
$hr
${color blue}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 12 /}
${color blue} home $color${fs_used /home}/${fs_size /home} ${fs_bar 12 /home}
${color blue}Networking: $alignr$color${wireless_essid wlan0}
${color blue} Up: $color ${upspeed wlan0}$alignr${upspeedgraph wlan0 12,180 black white}
${color blue} Down: $color ${downspeed wlan0}$alignr${downspeedgraph wlan0 12,180 black white}
##${color blue} External IP $alignr$color ${exec curl -s www.icanhazip.com}
${color blue} Internal IP $alignr$color ${addr wlan0}
$hr
${color blue}Name${alignr}PID CPU% MEM%
${color} ${top name 1} $color${alignr} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} $color${alignr} ${top pid 2} ${top cpu 2} ${top mem 2}
${color} ${top name 3} $color${alignr} ${top pid 3} ${top cpu 3} ${top mem 3}
${color} ${top name 4} $color${alignr} ${top pid 4} ${top cpu 4} ${top mem 4}
${color} ${top name 5} $color${alignr} ${top pid 5} ${top cpu 5} ${top mem 5}
$hr
#${color2}RAM ${color0}${alignr}Full - ${memmax} / Free - ${memfree} / Used - ${mem}
#${membar 5,}
${color blue}Name${alignr}RAM%
${color} ${top_mem name 1} $alignr ${top_mem mem_res 1}
${color} ${top_mem name 2} $alignr ${top_mem mem_res 2}
${color} ${top_mem name 3} $alignr ${top_mem mem_res 3}
${color} ${top_mem name 4} $alignr ${top_mem mem_res 4}
#${color} ${top_mem name 5} $alignr ${top_mem mem_res 5}
#${color} ${top_mem name 6} $alignr ${top_mem mem_res 6}
#${color} ${top_mem name 7} $alignr ${top_mem mem_res 7}
$hr
${color blue}Service/Port ${alignr}Remote Address$color
${tcp_portmon 1 65535 lservice 7} ${alignr}${tcp_portmon 1 65535 rhost 0}
${tcp_portmon 1 65535 lservice 7} ${alignr}${tcp_portmon 1 65535 rhost 1}
${tcp_portmon 1 65535 lservice 7} ${alignr}${tcp_portmon 1 65535 rhost 2}
${tcp_portmon 1 65535 lservice 7} ${alignr}${tcp_portmon 1 65535 rhost 3}
#${tcp_portmon 1 65535 lservice 7} ${alignr}${tcp_portmon 1 65535 rhost 4}
# ${tcp_portmon 1 65535 lservice 7} ${alignr}${tcp_portmon 1 65535 rhost 5}
# ${tcp_portmon 1 65535 lservice 7} ${alignr}${tcp_portmon 1 65535 rhost 6}
# ${tcp_portmon 1 65535 lservice 7} ${alignr}${tcp_portmon 1 65535 rhost 7}
$hr
${color blue}Moeda $alignr Compra Venda
${color blue} USD Comercial: $alignr $color ${exec curl -s "https://api.cotacoes.uol.com/currency/intraday/list?currency=1&fields=bidvalue,date" | jq .docs[0].bidvalue} $color ${exec curl -s "https://api.cotacoes.uol.com/currency/intraday/list?currency=1&fields=askvalue,date" | jq .docs[0].askvalue}
${color blue} USD Turismo: $alignr $color ${exec curl -s "https://api.cotacoes.uol.com/currency/intraday/list?currency=3&fields=bidvalue,date" | jq .docs[0].bidvalue} $color ${exec curl -s "https://api.cotacoes.uol.com/currency/intraday/list?currency=3&fields=askvalue,date" | jq .docs[0].askvalue}
#${color blue} EUR: $alignr $color ${exec curl -s "https://api.cotacoes.uol.com/currency/intraday/list?currency=5&fields=bidvalue,date" | jq .docs[0].bidvalue} $color ${exec curl -s "https://api.cotacoes.uol.com/currency/intraday/list?currency=5&fields=askvalue,date" | jq .docs[0].askvalue}
]]