summaryrefslogtreecommitdiffstats
path: root/.config/conky/conkyrc
blob: 578b7e1efef9dec90458b8f122099103d0f84030 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
conky.config = {
	alignment = 'left',
    background = false,
    own_window = true,
    own_window_class = 'Desktop',
    own_window_transparent = true,
    own_window_type = 'desktop',
    own_window_argb_visual = true,
    own_window_argb_value = 255,
    double_buffer = true,
    use_spacer = 'none',
    use_xft = true,
    xftalpha = 1,
    font  = 'NotoSansMono Nerd Font:size=10',
    font1 = 'NotoSansMono Nerd Font:bold:size=10',
	font2 = 'Hack Nerd Font Mono:bold:size=10',
	template0 = '\\n',
	if_up_strictness = address,
	format_human_readable = true,
    update_interval = 1.5,
    uppercase = false,
    override_utf8_locale = true,
    stippled_borders = 0,
    border_width = 1,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    show_graph_scale = false,
    show_graph_range = false,
    alignment = 'top_left',
    minimum_width = 400,
    minimum_height = 1440,
    maximum_width = 400,
    gap_x = 10,
    gap_y = 40,
    net_avg_samples = 2,
    cpu_avg_samples = 4,
    short_units = true,
    pad_percents = 2,
    text_buffer_size = 8192,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    default_color = 'red',
}

conky.text = [[
${color #928374}${alignc}${time %A %e %B %Y - %Hh%M}
${color #ebdbb2}${font1}SYSTEM ${hr}${font}
${color #928374}Terminal: ${font2}${color #ebdbb2}${nodename_short}${font}
${color #928374}OS:       ${font2}${color #ebdbb2}${sysname}${font}
${color #928374}Kernel:   ${font2}${color #ebdbb2}${kernel}${font}
${color #928374}Uptime:   ${font2}${color #ebdbb2}${uptime}${font}
${if_mpd_playing}${font1}MPD ${hr}${font}

${font2}${color #ebdbb2}${goto 130}${mpd_artist}
${goto 130}${scroll wait 30 3 1 ${mpd_title}}
${goto 130}${mpd_elapsed}/${mpd_length} ${mpd_bar}
${execi 5 ~/.local/bin/conky/cover.sh >/dev/null 2>&1}${image /tmp/conkyCover.png -p 0,150 -n}${font}

${endif}${execpi 1800 ~/.local/bin/conky/weather.sh}
CPU ${hr}
${color #928374}CPU: ${font2}${color #ebdbb2} ${freq_g} GHz ${color #ebdbb2}${cpu}%
${offset 4}${cpugraph bfbfbf c0c0c0}
${color #928374}1:${color #ebdbb2} ${cpu cpu0}% ${cpubar cpu0}${color #ebdbb2}
${color #928374}2:${color #ebdbb2} ${cpu cpu1}% ${cpubar cpu1}${color #ebdbb2}
${color #928374}3:${color #ebdbb2} ${cpu cpu2}% ${cpubar cpu2}${color #ebdbb2}
${color #928374}4:${color #ebdbb2} ${cpu cpu3}% ${cpubar cpu3}${color #ebdbb2}
${color #928374}5:${color #ebdbb2} ${cpu cpu4}% ${cpubar cpu4}${color #ebdbb2}
${color #928374}6:${color #ebdbb2} ${cpu cpu5}% ${cpubar cpu5}${color #ebdbb2}${font}
${font1}RAM ${hr}${font}
${color #928374}RAM:  ${font2}${color #ebdbb2}${mem} / ${memmax} ${color #ebdbb2}${memperc}% ${membar 4}${font}
${offset 4}${memgraph bfbfbf c0c0c0}
${color #928374}SWAP:  ${font2}${color #ebdbb2}${swap} / ${swapmax} ${color #ebdbb2}${swapperc}% ${swapbar 4}${font}
${font1}DISK ${hr}${font}
${color #928374}SSD: ${font2}${color #ebdbb2}${fs_free_perc /}% ${fs_bar 6 /}${font}
${font1}PROC ${hr}${font}
${color #928374}Process:${color #928374}${alignr}PID     CPU   MEM
${font2}${color #ebdbb2}${top_mem name 1} ${alignr}${top_mem pid 1}  ${top_mem cpu 1}  ${top_mem mem_res 1}
${font2}${color #928374}${top_mem name 2} ${alignr}${top_mem pid 2}  ${top_mem cpu 2}  ${top_mem mem_res 2}
${font2}${color #ebdbb2}${top_mem name 3} ${alignr}${top_mem pid 3}  ${top_mem cpu 3}  ${top_mem mem_res 3}
${font2}${color #928374}${top_mem name 4} ${alignr}${top_mem pid 4}  ${top_mem cpu 4}  ${top_mem mem_res 4}${font}
${color #928374}---------
${color #928374}Processes: ${font2}${color #ebdbb2}${processes}${font}
${execp ~/.local/bin/conky/net.sh}
]]