-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmemoryGraph
60 lines (50 loc) · 2.7 KB
/
memoryGraph
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
conky.config = {
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 = 441,
-- window settings
minimum_width = 191,
minimum_height = 60,
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
stippled_borders = 0, -- border stippling (dashing) 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
-- ::::::::::::: templates
-- cpu/mem/download/disk write graph color
template1 = [[5c111f c01e20]],
};
conky.text = [[
# memory graph and usage are displayed on a separate conky due to a bug with these memory variables computing bad data if other variables like ${top ...} and one of the network upload/download ones exists in the same conky
${offset 45}${memgraph 35,139 ${template1}}
${voffset -2}${offset 6}${color1}used ${color}${mem}${alignr 6}/ ${memmax} ${memperc}%
]]