Skip to content

Instantly share code, notes, and snippets.

@cornernote
Last active July 27, 2021 10:47
Show Gist options
  • Select an option

  • Save cornernote/db49a05acdc5ef0334fe353d5c791c7c to your computer and use it in GitHub Desktop.

Select an option

Save cornernote/db49a05acdc5ef0334fe353d5c791c7c to your computer and use it in GitHub Desktop.

Revisions

  1. cornernote revised this gist Jul 27, 2021. 1 changed file with 17 additions and 17 deletions.
    34 changes: 17 additions & 17 deletions .conkyrc
    Original file line number Diff line number Diff line change
    @@ -31,37 +31,37 @@ conky.config = {
    own_window_colour = '#000000',
    minimum_width = 0,
    minimum_height = 0,
    alignment = 'bottom_left',
    alignment = 'bottom_right',
    };


    conky.text = [[
    ${voffset -4}${color green}LOAD${color}
    ${voffset -6}${color 222222}${loadgraph 55,145 666666 666666 4}${color}
    ${voffset -4}${color 009900}LOAD${color}
    ${voffset -6}${color 222222}${loadgraph 55,145 006600 660000 4 -t}${color}
    ${offset 3}${voffset -70}${font Ubuntu Mono:size=10}proc: ${running_processes} +${processes}${font}
    ${offset 3}${voffset -8}${font Ubuntu Mono:size=10}thrd: ${running_threads} +${threads}${font}
    ${offset 3}${voffset 10}${loadavg}
    ${voffset -70}${offset 150}${color green}CPU${color}
    ${offset 150}${voffset -6}${color 222222}${cpugraph 0 55,145 666666 666666}${color}
    ${voffset -70}${offset 150}${color 009900}CPU${color}
    ${offset 150}${voffset -6}${color 222222}${cpugraph 0 55,145 006600 660000 -t}${color}
    ${offset 155}${voffset -63}${color 666666}${cpubar 6,110 cpu0}${color} ${voffset -2}${font Ubuntu Mono:size=10}${cpu cpu0}%${font}${color}
    ${voffset -37}${offset 300}${color green}STORE${color}
    ${voffset -37}${offset 300}${color 009900}STORE${color}
    ${offset 300}${voffset -7}${font Ubuntu Mono:size=8}RAM: ${mem} / ${memmax}${font}
    ${offset 300}${voffset -10}${color 666666}${membar 4,120}${color} ${voffset -4}${font Ubuntu Mono:size=8}$memperc%${font}${color}
    ${offset 300}${voffset -10}${font Ubuntu Mono:size=8}SWP: ${swap} / ${swapmax}${font}
    ${offset 300}${voffset -10}${color 666666}${swapbar 4,120}${color} ${voffset -4}${font Ubuntu Mono:size=8}$swapperc%${font}${color}
    ${offset 300}${voffset -10}${font Ubuntu Mono:size=8}HDD: ${fs_used} / ${fs_size}${font}
    ${offset 300}${voffset -10}${color 666666}${fs_bar 4,120}${color} ${voffset -4}${font Ubuntu Mono:size=8}$fs_used_perc%${font}${color}
    ${voffset -80}${offset 450}${color green}HDD IO${color}
    ${offset 450}${voffset -6}${color 222222}${diskiograph_read /dev/sda5 26,145 666666 666666}${color}
    ${offset 453}${voffset -28}${font Ubuntu Mono:size=10}${diskio_read}${font}
    ${offset 450}${voffset -5}${color 222222}${diskiograph_write /dev/sda5 26,145 666666 666666}${color}
    ${offset 453}${voffset -28}${font Ubuntu Mono:size=10}${diskio_write}${font}
    ${voffset -74}${offset 600}${color green}NET IO${color}
    ${offset 600}${voffset -6}${color 222222}${downspeedgraph enp0s3 26,145 666666 666666}${color}
    ${offset 603}${voffset -28}${font Ubuntu Mono:size=10}${downspeed enp0s3}${font}
    ${offset 600}${voffset -5}${color 222222}${upspeedgraph enp0s3 26,145 666666 666666}${color}
    ${offset 603}${voffset -28}${font Ubuntu Mono:size=10}${upspeed enp0s3}${font}
    ${voffset -75}${offset 750}${color green}PROC${color}
    ${voffset -80}${offset 450}${color 009900}HDD IO${color}
    ${offset 450}${voffset -6}${color 222222}${diskiograph_read /dev/sda5 26,145 006600 660000 -t}${color}
    ${offset 453}${voffset -28}${font Ubuntu Mono:size=10}R: ${diskio_read}${font}
    ${offset 450}${voffset -5}${color 222222}${diskiograph_write /dev/sda5 26,145 006600 660000 -t}${color}
    ${offset 453}${voffset -28}${font Ubuntu Mono:size=10}W: ${diskio_write}${font}
    ${voffset -74}${offset 600}${color 009900}NET IO${color}
    ${offset 600}${voffset -6}${color 222222}${downspeedgraph enp0s3 26,145 006600 660000 -t}${color}
    ${offset 603}${voffset -28}${font Ubuntu Mono:size=10}D: ${downspeed enp0s3}${font}
    ${offset 600}${voffset -5}${color 222222}${upspeedgraph enp0s3 26,145 006600 660000 -t}${color}
    ${offset 603}${voffset -28}${font Ubuntu Mono:size=10}U: ${upspeed enp0s3}${font}
    ${voffset -75}${offset 750}${color 009900}PROC${color}
    ${offset 750}${voffset -6}${font Ubuntu Mono:size=8}${color grey}${alignr}Name PID CPU% MEM%${color}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}${font}
  2. cornernote revised this gist Jul 25, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,4 +2,5 @@

    Uses `alignment=bottom_left` to display Conky in the footer, usually out of the way.

    ![image](https://user-images.githubusercontent.com/51875/126913805-af8df5a0-3e28-45bc-bb31-ba6b25416254.png)
    ![image](https://user-images.githubusercontent.com/51875/126914074-baffbf2e-9151-452f-85ff-85fdb21a411c.png)

  3. cornernote revised this gist Jul 25, 2021. 1 changed file with 18 additions and 18 deletions.
    36 changes: 18 additions & 18 deletions .conkyrc
    Original file line number Diff line number Diff line change
    @@ -29,43 +29,43 @@ conky.config = {
    uppercase = false,
    default_color = 'white',
    own_window_colour = '#000000',
    minimum_width = 0,
    minimum_width = 0,
    minimum_height = 0,
    alignment = 'bottom_left',
    };


    conky.text = [[
    ${voffset -4}${color darkgreen}LOAD${color}
    ${voffset -6}${color 222222}${loadgraph 55,145 789e2d a7cc5c 4}${color}
    ${voffset -4}${color green}LOAD${color}
    ${voffset -6}${color 222222}${loadgraph 55,145 666666 666666 4}${color}
    ${offset 3}${voffset -70}${font Ubuntu Mono:size=10}proc: ${running_processes} +${processes}${font}
    ${offset 3}${voffset -8}${font Ubuntu Mono:size=10}thrd: ${running_threads} +${threads}${font}
    ${offset 3}${voffset 10}${loadavg}
    ${voffset -70}${offset 150}${color darkgreen}CPU${color}
    ${offset 150}${voffset -6}${color 222222}${cpugraph 0 55,145 789e2d a7cc5c}${color}
    ${offset 155}${voffset -63}${color 666666}${cpubar 6,110 cpu0} ${voffset -2}${font Ubuntu Mono:size=10}${cpu cpu0}%${font}${color}
    ${voffset -37}${offset 300}${color darkgreen}STORE${color}
    ${voffset -70}${offset 150}${color green}CPU${color}
    ${offset 150}${voffset -6}${color 222222}${cpugraph 0 55,145 666666 666666}${color}
    ${offset 155}${voffset -63}${color 666666}${cpubar 6,110 cpu0}${color} ${voffset -2}${font Ubuntu Mono:size=10}${cpu cpu0}%${font}${color}
    ${voffset -37}${offset 300}${color green}STORE${color}
    ${offset 300}${voffset -7}${font Ubuntu Mono:size=8}RAM: ${mem} / ${memmax}${font}
    ${offset 300}${voffset -10}${color 666666}${membar 4,120} ${voffset -4}${font Ubuntu Mono:size=8}$memperc%${font}${color}
    ${offset 300}${voffset -10}${color 666666}${membar 4,120}${color} ${voffset -4}${font Ubuntu Mono:size=8}$memperc%${font}${color}
    ${offset 300}${voffset -10}${font Ubuntu Mono:size=8}SWP: ${swap} / ${swapmax}${font}
    ${offset 300}${voffset -10}${color 666666}${swapbar 4,120} ${voffset -4}${font Ubuntu Mono:size=8}$swapperc%${font}${color}
    ${offset 300}${voffset -10}${color 666666}${swapbar 4,120}${color} ${voffset -4}${font Ubuntu Mono:size=8}$swapperc%${font}${color}
    ${offset 300}${voffset -10}${font Ubuntu Mono:size=8}HDD: ${fs_used} / ${fs_size}${font}
    ${offset 300}${voffset -10}${color 666666}${fs_bar 4,120} ${voffset -4}${font Ubuntu Mono:size=8}$fs_used_perc%${font}${color}
    ${voffset -80}${offset 450}${color darkgreen}HDD IO${color}
    ${offset 450}${voffset -6}${color 222222}${diskiograph_read /dev/sda5 26,145 789e2d a7cc5c}${color}
    ${offset 300}${voffset -10}${color 666666}${fs_bar 4,120}${color} ${voffset -4}${font Ubuntu Mono:size=8}$fs_used_perc%${font}${color}
    ${voffset -80}${offset 450}${color green}HDD IO${color}
    ${offset 450}${voffset -6}${color 222222}${diskiograph_read /dev/sda5 26,145 666666 666666}${color}
    ${offset 453}${voffset -28}${font Ubuntu Mono:size=10}${diskio_read}${font}
    ${offset 450}${voffset -5}${color 222222}${diskiograph_write /dev/sda5 26,145 789e2d a7cc5c}${color}
    ${offset 450}${voffset -5}${color 222222}${diskiograph_write /dev/sda5 26,145 666666 666666}${color}
    ${offset 453}${voffset -28}${font Ubuntu Mono:size=10}${diskio_write}${font}
    ${voffset -74}${offset 600}${color darkgreen}NET IO${color}
    ${offset 600}${voffset -6}${color 222222}${downspeedgraph enp0s3 26,145 789e2d a7cc5c}${color}
    ${voffset -74}${offset 600}${color green}NET IO${color}
    ${offset 600}${voffset -6}${color 222222}${downspeedgraph enp0s3 26,145 666666 666666}${color}
    ${offset 603}${voffset -28}${font Ubuntu Mono:size=10}${downspeed enp0s3}${font}
    ${offset 600}${voffset -5}${color 222222}${upspeedgraph enp0s3 26,145 789e2d a7cc5c}${color}
    ${offset 600}${voffset -5}${color 222222}${upspeedgraph enp0s3 26,145 666666 666666}${color}
    ${offset 603}${voffset -28}${font Ubuntu Mono:size=10}${upspeed enp0s3}${font}
    ${voffset -75}${offset 750}${color darkgreen}PROC${color}
    ${voffset -75}${offset 750}${color green}PROC${color}
    ${offset 750}${voffset -6}${font Ubuntu Mono:size=8}${color grey}${alignr}Name PID CPU% MEM%${color}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}${font}
    ${voffset -365}
    ]]
    ]]
  4. cornernote revised this gist Jul 25, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .conkyrc
    Original file line number Diff line number Diff line change
    @@ -68,4 +68,4 @@ ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 2} ${top pid 2}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}${font}
    ${voffset -365}
    ]]
    ]]
  5. cornernote revised this gist Jul 25, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -2,3 +2,4 @@

    Uses `alignment=bottom_left` to display Conky in the footer, usually out of the way.

    ![image](https://user-images.githubusercontent.com/51875/126913805-af8df5a0-3e28-45bc-bb31-ba6b25416254.png)
  6. cornernote created this gist Jul 25, 2021.
    71 changes: 71 additions & 0 deletions .conkyrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,71 @@
    conky.config = {
    update_interval = 2,
    cpu_avg_samples = 2,
    net_avg_samples = 2,
    out_to_console = false,
    override_utf8_locale = true,
    double_buffer = true,
    no_buffers = true,
    text_buffer_size = 32768,
    imlib_cache_size = 0,
    own_window = true,
    own_window_type = 'normal',
    own_window_argb_visual = true,
    own_window_argb_value = 100,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    border_inner_margin = 2,
    border_outer_margin = 0,
    xinerama_head = 1,
    gap_x = 0,
    gap_y = 0,
    draw_shades = false,
    draw_outline = false,
    draw_borders = false,
    draw_graph_borders = true,
    show_graph_scale = false,
    use_xft = true,
    font = 'Ubuntu Mono:size=12',
    xftalpha = 0.8,
    uppercase = false,
    default_color = 'white',
    own_window_colour = '#000000',
    minimum_width = 0,
    minimum_height = 0,
    alignment = 'bottom_left',
    };


    conky.text = [[
    ${voffset -4}${color darkgreen}LOAD${color}
    ${voffset -6}${color 222222}${loadgraph 55,145 789e2d a7cc5c 4}${color}
    ${offset 3}${voffset -70}${font Ubuntu Mono:size=10}proc: ${running_processes} +${processes}${font}
    ${offset 3}${voffset -8}${font Ubuntu Mono:size=10}thrd: ${running_threads} +${threads}${font}
    ${offset 3}${voffset 10}${loadavg}
    ${voffset -70}${offset 150}${color darkgreen}CPU${color}
    ${offset 150}${voffset -6}${color 222222}${cpugraph 0 55,145 789e2d a7cc5c}${color}
    ${offset 155}${voffset -63}${color 666666}${cpubar 6,110 cpu0} ${voffset -2}${font Ubuntu Mono:size=10}${cpu cpu0}%${font}${color}
    ${voffset -37}${offset 300}${color darkgreen}STORE${color}
    ${offset 300}${voffset -7}${font Ubuntu Mono:size=8}RAM: ${mem} / ${memmax}${font}
    ${offset 300}${voffset -10}${color 666666}${membar 4,120} ${voffset -4}${font Ubuntu Mono:size=8}$memperc%${font}${color}
    ${offset 300}${voffset -10}${font Ubuntu Mono:size=8}SWP: ${swap} / ${swapmax}${font}
    ${offset 300}${voffset -10}${color 666666}${swapbar 4,120} ${voffset -4}${font Ubuntu Mono:size=8}$swapperc%${font}${color}
    ${offset 300}${voffset -10}${font Ubuntu Mono:size=8}HDD: ${fs_used} / ${fs_size}${font}
    ${offset 300}${voffset -10}${color 666666}${fs_bar 4,120} ${voffset -4}${font Ubuntu Mono:size=8}$fs_used_perc%${font}${color}
    ${voffset -80}${offset 450}${color darkgreen}HDD IO${color}
    ${offset 450}${voffset -6}${color 222222}${diskiograph_read /dev/sda5 26,145 789e2d a7cc5c}${color}
    ${offset 453}${voffset -28}${font Ubuntu Mono:size=10}${diskio_read}${font}
    ${offset 450}${voffset -5}${color 222222}${diskiograph_write /dev/sda5 26,145 789e2d a7cc5c}${color}
    ${offset 453}${voffset -28}${font Ubuntu Mono:size=10}${diskio_write}${font}
    ${voffset -74}${offset 600}${color darkgreen}NET IO${color}
    ${offset 600}${voffset -6}${color 222222}${downspeedgraph enp0s3 26,145 789e2d a7cc5c}${color}
    ${offset 603}${voffset -28}${font Ubuntu Mono:size=10}${downspeed enp0s3}${font}
    ${offset 600}${voffset -5}${color 222222}${upspeedgraph enp0s3 26,145 789e2d a7cc5c}${color}
    ${offset 603}${voffset -28}${font Ubuntu Mono:size=10}${upspeed enp0s3}${font}
    ${voffset -75}${offset 750}${color darkgreen}PROC${color}
    ${offset 750}${voffset -6}${font Ubuntu Mono:size=8}${color grey}${alignr}Name PID CPU% MEM%${color}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}${font}
    ${offset 750}${voffset -10}${font Ubuntu Mono:size=8}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}${font}
    ${voffset -365}
    ]]
    4 changes: 4 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # Conky Config

    Uses `alignment=bottom_left` to display Conky in the footer, usually out of the way.