-
Notifications
You must be signed in to change notification settings - Fork 0
/
.conkyrc
executable file
·136 lines (115 loc) · 4.11 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
130
131
132
133
134
135
136
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
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-2012 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 = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'green',
default_shade_color = 'red',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
font = 'Ubuntu:pixelsize=12',
gap_x = 5,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
show_graph_scale = false,
show_graph_range = false,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
xftalpha = 0.1,
update_interval = 1,
total_run_times = 0,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window = true,
-- own_window_type = normal,
own_window_transparent= true,
own_window_hints = undecorated,below,sticky,skip_taskbar,skip_pager,
own_window_colour = 000000,
own_window_argb_visual = true,
own_window_argb_value = 0
}
conky.text = [[
${voffset 0} \
${color EAEAEA} \
${font GE Inspira:pixelsize=120} ${time %H:%M} ${font} ${voffset -100} \
${offset 10} \
${color FFA300} \
${font GE Inspira:pixelsize=42} ${time %d} ${voffset -15}${color EAEAEA}${font GE Inspira:pixelsize=22}${time %B} ${time %Y}${font} \
${voffset 24}${font GE Inspira:pixelsize=58}${offset -148}${time %A}${font}
${voffset 1}${offset 12}${font Ubuntu:pixelsize=12}
${offset 12} \
${font GE Inspira:pixelsize=13} \
${color FFA300}CPU \
${offset 10} ${color} ${cpu cpu0}% \
${exec sensors | grep -n 'temp1' | awk -F'+' '{print $2}' | awk -F' ' '{print $1}'}
${offset 0} \
${font GE Inspira:pixelsize=13} \
${color FFA300}GPU \
${offset 0} ${color} ${nvidia memfreq}MB ${nvidia temp}°C
${offset 0} \
${font GE Inspira:pixelsize=13} \
${color FFA300}RAM \
${offset 5} ${color}${mem} / ${memmax}
${offset 0} \
${font GE Inspira:pixelsize=13} \
${color FFA300}SWAP \
${offset 5} ${color}${swap} / ${swapmax}
${offset 0} \
${font GE Inspira:pixelsize=13} \
${color FFA300}Wlan \
${color0}${addrs wlp6s0}
${offset 0} \
${font GE Inspira:pixelsize=13} \
${color FFA300}Local \
${color0}${addrs enp5s0f2}
${offset 0} \
${font GE Inspira:pixelsize=13} \
${color FFA300}Public \
${color0}${execi 3600 wget -q -O /dev/stdout http://checkip.dyndns.org/ | cut -d : -f 2- | cut -d \< -f -1}
${offset 0} \
${font GE Inspira:pixelsize=13} \
${color2}Download \
${color0} \
${alignr}${downspeedf eth0} KiB/s
${downspeedgraph eth0 80,}
${offset 0} \
${font GE Inspira:pixelsize=13} \
${color2}Upload \
${color0} \
${alignr} \
${upspeedf eth0} KiB/s
${upspeedgraph eth0 80,}
]]