aboutsummaryrefslogtreecommitdiff
path: root/.conkyrc
blob: 6274f1d48894195163884a9c23e6f17f491aa1ef (plain)
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
conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 0,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    font = 'DejaVu Sans Mono:size=12',
    gap_x = 20,
    gap_y = 60,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_wayland = false,
    out_to_x = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'normal',
    own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
	minimum_width = 400,
}

conky.text = [[
${color grey}Uptime${alignr}$color $uptime
${color grey}Kernel${alignr}$color $kernel
${color grey}Frequency${alignr}$color $freq_g GHz
${color grey}CPU Temp${alignr}$color ${exec sensors | grep 'Package id 0:' | awk '{print $4}' | sed 's/+//'}
${color grey}GPU Temp${alignr}$color ${exec nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader}°C

${color grey}Net Up: ${upspeed enp5s0}${alignr}Net Down: ${downspeed enp5s0}$color
${upspeedgraph enp5s0 20,200 ff0000}${alignr}${downspeedgraph enp5s0 20,200 00ff00}

${color grey}CPU Usage${alignr}$color $cpu%
${cpubar 10}
${cpubar cpu0 10,40}${offset 4}${cpubar cpu1 10,40}${offset 4}${cpubar cpu2 10,40}${offset 4}${cpubar cpu3 10,40}${offset 4}${cpubar cpu4 10,40}${offset 4}${cpubar cpu5 10,40}${offset 4}${cpubar cpu6 10,40}${offset 4}${cpubar cpu7 10,40}${offset 4}${cpubar cpu8 10,40}${offset 4}${cpubar cpu9 10,40}
${cpubar cpu10 10,40}${offset 4}${cpubar cpu11 10,40}${offset 4}${cpubar cpu12 10,40}${offset 4}${cpubar cpu13 10,40}${offset 4}${cpubar cpu14 10,40}${offset 4}${cpubar cpu15 10,40}${offset 4}${cpubar cpu16 10,40}${offset 4}${cpubar cpu17 10,40}${offset 4}${cpubar cpu18 10,40}${offset 4}${cpubar cpu19 10,40}

${color grey}RAM Usage${alignr}$color $mem/$memmax - $memperc%
${membar 10}

${color grey}File systems${alignr}$color${fs_used /}/${fs_size /} - ${fs_used_perc /}%
${fs_bar 10 /}

${color grey}World Clocks
${color grey} New York${alignr}${tztime America/New_York %H:%M}
${color grey} Brisbane${alignr}${tztime Australia/Brisbane %H:%M}
${color grey} San Francisco${alignr}${tztime America/Los_Angeles %H:%M}

${color grey}Process                   PID    CPU%   MEM%
${color lightgrey} ${top name 1}      ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2}      ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3}      ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4}      ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey} ${top name 5}      ${top pid 5} ${top cpu 5} ${top mem 5}
]]