|
root / base / hammerhead-desktop / conky.conf
conky.conf Plain Text 66 lines 1.9 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
63
64
65
-- Hammerhead conky config - Zygaena marine-dark identity
-- Installed to $PREFIX/etc/xdg/conky/conky.conf
-- Uses conky's native illumos/kstat stat backend (no ${exec} shellouts
-- needed for cpu/mem/fs/net - see task brief).
--
-- Typography/layout adapted from CrunchBang++'s signature right-side
-- conky (github.com/CBPP/cbpp-configs, simon-weber/crunchbang-conf):
-- monospace, right-aligned, uppercase section labels over hairline
-- rules, compact bars. Restyled teal-on-dark instead of CBPP's grey/red,
-- and kept our native kstat vars (no CBPP-style ${exec} shellouts).

conky.config = {
    own_window = true,
    own_window_type = 'desktop',
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_argb_value = 200,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

    alignment = 'top_right',
    gap_x = 24,
    gap_y = 40,
    minimum_width = 260,
    maximum_width = 300,

    update_interval = 2.0,
    double_buffer = true,
    use_xft = true,
    font = 'monospace:size=9',

    default_color = 'cfe0e0',
    color1 = '1fb6b6',   -- headings / accents
    color2 = '5a7575',   -- muted / rules

    draw_shades = false,
    draw_outline = false,
    draw_borders = false,

    background = false,
}

conky.text = [[
${alignr}${color1}${font monospace:bold:size=14}HAMMERHEAD${font}${color}
${alignr}${color2}${nodename}${color}
${alignr}${color2}${hr 1}${color}

${alignr}${color1}SYSTEM${color}
${alignr}uptime  ${color1}${uptime}${color}
${alignr}load    ${color1}${loadavg}${color}

${alignr}${color1}CPU${color}
${alignr}${cpu}%${color}
${alignr}${cpubar 6,220}

${alignr}${color1}MEMORY${color}
${alignr}${mem} / ${memmax}${color}
${alignr}${membar 6,220}

${alignr}${color1}DISK (/)${color}
${alignr}${fs_used /} / ${fs_size /}${color}
${alignr}${fs_bar 6,220 /}

${alignr}${color1}NETWORK${color}
${alignr}down ${color1}${downspeed}${color} / up ${color1}${upspeed}${color}
]]