-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpu_core
More file actions
executable file
·62 lines (53 loc) · 1.32 KB
/
cpu_core
File metadata and controls
executable file
·62 lines (53 loc) · 1.32 KB
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
background yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
imlib_cache_size 0
update_interval 1
cpu_avg_samples 1
format_human_readable
alignment top_right
gap_x 22
gap_y 22
minimum_size 240 700
own_window yes
own_window_type normal # options are: normal/override/dock/desktop/panel
own_window_class Conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 100
#border_inner_margin 0
#border_outer_margin 0
default_bar_size 100 6
draw_shades no
default_shade_color 000000
draw_outline no
default_outline_color 000000
draw_borders no
draw_graph_borders yes
default_graph_size 40,220
show_graph_scale no
show_graph_range no
short_units yes
override_utf8_locale yes
use_xft yes
xftfont ADELE:normal:size=13
xftalpha 1
uppercase no
#max_text_width 40
default_color ffffff
color1 ffffff
color2 FF5A45
color3 81CAE0
color4 FF5A45
lua_load ./cpucores.lua
TEXT
#
# cpu load/temp/graph
${goto 10}${font ADELE:bold:size=15}Processors${font} %${cpu cpu0}
${voffset 10}${goto 10}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | sed -e 's/Processor//' | awk -F " CPU" '{print $1}'}
${goto 10}${voffset -5}${color2}${cpugraph cpu0 35,220 66241C f4f442}
${lua_parse listCPUGraphs}
#