-
Notifications
You must be signed in to change notification settings - Fork 1
/
_conkyrc
executable file
·236 lines (201 loc) · 10.8 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# set to yes if you want Conky to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font -bitstream-bitstream vera sans mono-medium-r-normal--11-0-0-0-m-0-iso10646-1
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
#font -wenquanyi-wenquanyi bitmap song-bold-r-normal--0-0-75-75-p-0-iso10646-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
override_utf8_locale yes
#xftfont "Shadow=1:xft:WenQuanYi Bitmap Song:size=12:encoding=iso10646-1"
own_window_transparent no
own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 5 5
#maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders yes
# Stippled borders?
stippled_borders 0
# border margins
border_margin 10
# border width
border_width 1
# Default colors and also border colors
default_color black
default_shade_color red
default_outline_color yellow
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
#gap_x 440
gap_x 140
gap_y 40
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# ${pre_exec genConkyCalDate.sh} # put it anywhere if you like a cal, make sure (font mono,use_spacer) is on
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #a617be}$nodename${color white}-${color white}$sysname $kernel ${color #a617be}on ${color white}$machine
${color #a617be}${pre_exec whoami}${tab}${color #a617be}${time %k:%M:%S} ${color white}Up: $uptime Battery : ${battery}
${color black}${hr 1}
${color white}cpu: ${color #a617be}${cpu}% ${color #a617be}${freq}M/${acpitemp}'C
${color white}${cpugraph cpu1 25,200 ff0000 ff00ff}${tab}${alignr}${color white}${cpugraph cpu2 25,200 ff0000 ff00ff}
${color white}ram : ${color #a617be}$mem${color white}/${color #a617be}$memmax ${color white}- ${color #a617be}$memperc%
${color white}swap: ${color #a617be}$swap${color white}/${color #a617be}$swapmax ${color white} - ${color #a617be}$swapperc%
${color black}${hr 1}
${color white}all net count: ${color #a617be}${tcp_portmon 1 65535 count}
${color white}DOWN : ${color #a617be}${downspeed eth0}k/s${color white} of : ${color #a617be}${totaldown eth0}
${color white}UP : ${color #a617be}${upspeed eth0}k/s${color white} of : ${color #a617be}${totalup eth0}
${color white}${downspeedgraph eth0 25,170 ff0000 0000ff} ${color white}${upspeedgraph eth0 25,170 0000ff ff0000}
${color black}${hr 1}
${color white}/ : ${tab}${color #a617be}${fs_used /}${color white}/${color #a617be}${fs_size /} ${alignr}${color white}${fs_bar 7,200 /}
${color white}/home : ${tab}${color #a617be}${fs_used /home}${color white}/${color #a617be}${fs_size /home} ${alignr}${color white}${fs_bar 7,200 /home}
${color white}/usr : ${tab}${color #a617be}${fs_used /usr}${color white}/${color #a617be}${fs_size /usr} ${alignr}${color white}${fs_bar 7,200 /usr}
${color white}/var : ${tab}${color #a617be}${fs_used /var}${color white}/${color #a617be}${fs_size /var} ${alignr}${color white}${fs_bar 7,200 /var}
${color black}${hr 1}
${color #ffccaa}Processes:${color #a617be}$processes ${color white}running: ${color #a617be}$running_processes
${color #a617be} Top ${alignc}PID${alignr}CPU%
${color white} ${top name 1} ${alignc}${top pid 1} ${alignr}${top cpu 1}
${color white} ${top name 2} ${alignc}${top pid 2} ${alignr}${top cpu 2}
${color white} ${top name 3} ${alignc}${top pid 3} ${alignr}${top cpu 3}
${color #a617be} Top_mem ${alignc}PID${alignr}MEM%
${color white} ${top_mem name 1} ${alignc}${top_mem pid 1}${alignr}${top_mem mem 1}
${color white} ${top_mem name 2} ${alignc}${top_mem pid 2}${alignr}${top_mem mem 2}
${color white} ${top_mem name 3} ${alignc}${top_mem pid 3}${alignr}${top_mem mem 3}