-
Notifications
You must be signed in to change notification settings - Fork 4
/
temperature
69 lines (58 loc) · 3.92 KB
/
temperature
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
conky.config = {
lua_load = '~/conky/monochrome/common.lua',
update_interval = 2, -- update interval in seconds
total_run_times = 0, -- this is the number of times conky will update before quitting, set to zero to run forever
xinerama_head = 0, -- for multi monitor setups, select monitor to run on: 0,1,2
double_buffer = true, -- use double buffering (reduces flicker, may not work for everyone)
-- window alignment
alignment = 'middle_left', -- top|middle|bottom_left|middle|right
gap_x = 15, -- same as passing -x at command line
gap_y = -524,
-- window settings
minimum_width = 192,
own_window = true,
own_window_type = 'desktop', -- values: desktop (background), panel (bar)
-- transparency configuration
draw_blended = false,
own_window_transparent = true,
own_window_argb_visual = true, -- turn on transparency
own_window_argb_value = 255, -- range from 0 (transparent) to 255 (opaque)
-- window borders
draw_borders = false, -- draw borders around the conky window
border_width = 0, -- width of border window in pixels
border_inner_margin = 0, -- margin between the border and text in pixels
border_outer_margin = 0, -- margin between the border and the edge of the window in pixels
-- graph settings
draw_graph_borders = false, -- borders around the graph, ex. cpu graph, network down speed grah
-- does not include bars, ie. wifi strength bar, cpu bar
imlib_cache_flush_interval = 250,
-- use the parameter -n on ${image ..} to never cache and always update the image upon a change
if_up_strictness = 'address', -- network device must be up, having link and an assigned IP address
-- to be considered "up" by ${if_up}
-- values are: up, link or address
-- font settings
draw_shades = false, -- black shadow on text (not good if text is black)
draw_outline = false, -- black outline around text (not good if text is black)
-- colors
default_color = 'a98162', -- regular text
color1 = 'white', -- text labels
color2 = '94131f', -- bar
color3 = 'c01e20' -- bar critical
};
conky.text = [[
${offset 6}${color1}device${alignr 7}temperature
${voffset 8}${offset 6}${color}cpu${alignr}${lua_parse print_resource_usage ${hwmon atk0110 temp 1} 78 ${color3}}°C
${voffset 4}${offset 6}${color}cpu core 1${alignr}${lua_parse print_resource_usage ${hwmon coretemp temp 2} 85 ${color3}}°C
${voffset 3}${offset 6}${color}cpu core 2${alignr}${lua_parse print_resource_usage ${hwmon coretemp temp 3} 85 ${color3}}°C
${voffset 3}${offset 6}${color}cpu core 3${alignr}${lua_parse print_resource_usage ${hwmon coretemp temp 4} 85 ${color3}}°C
${voffset 3}${offset 6}${color}cpu core 4${alignr}${lua_parse print_resource_usage ${hwmon coretemp temp 5} 85 ${color3}}°C
${voffset 3}${offset 6}${color}AMD Radeon HD7570${alignr}${lua_parse print_resource_usage ${hwmon radeon temp 1} 75 ${color3}}°C
${voffset 3}${offset 6}${color}samsung SSD HD${alignr}${lua_parse print_resource_usage ${hwmon 0 temp 1} 42 ${color3}}°C
${voffset 3}${offset 6}${color}seagate HD${alignr}${lua_parse print_resource_usage ${hwmon 1 temp 1} 42 ${color3}}°C
${voffset 3}${offset 6}${color}seagate HD${alignr}${lua_parse print_resource_usage ${hwmon 2 temp 1} 42 ${color3}}°C
${voffset 8}${offset 6}${color1}fan${alignr 7}revolutions
${voffset 8}${offset 6}${color}chasis front intake${alignr 7}${lua_parse print_resource_usage ${hwmon atk0110 fan 3} 2300 ${color3}} rpm
${voffset 3}${offset 6}${color}cpu fan${alignr 7}${lua_parse print_resource_usage ${hwmon atk0110 fan 1} 2300 ${color3}} rpm
${voffset 3}${offset 6}${color}chasis top exhaust${alignr 7}${lua_parse print_resource_usage ${hwmon atk0110 fan 2} 2300 ${color3}} rpm
${voffset 3}${offset 6}${color}chasis back exhaust${alignr 7}${lua_parse print_resource_usage ${hwmon atk0110 fan 4} 2300 ${color3}} rpm
]]