Skip to content

Instantly share code, notes, and snippets.

@lohhans
Last active October 3, 2022 19:14
Show Gist options
  • Save lohhans/a75bb86a7d837ca201b82db57d4ae45e to your computer and use it in GitHub Desktop.
Save lohhans/a75bb86a7d837ca201b82db57d4ae45e to your computer and use it in GitHub Desktop.
Conky RED - Predator Helios 300
1- Descompactar a pasta e dar permissões no arquivo de start e stop:
chmod +x start.sh
chmod +x stop.sh
2- Para iniciar:
./start
3- Para parar:
./stop
4- Para inciar com o sistema siga este tutorial, adaptando para o Conky:
https://www.youtube.com/watch?v=JfA1UB664ag
*Obs: alguns arquivos tem caminhos específicos de configuração e podem não funcionar genereicamente, será preciso editar!
-------------------------------------------------------------------------------
Alias para terminal:
# Alias - Armstrong
alias 0="cd Conky && ./stop.sh; cd"
alias 1="cd Conky && ./start.sh; cd"
-- filesystem_rc
conky.config = {
background = false,
font = 'sans:size=10',
--xftfont sans:size=10
use_xft = true,
xftalpha = 0.9,
update_interval = 2,
imlib_cache_size = 0,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
--#own_window_transparent yes
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 180,
own_window_colour = '#0C0006',
double_buffer = true,
minimum_width = 225,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = '#101010',
default_shade_color = '#101010',
default_outline_color = 'green',
alignment = 'top_left',
gap_x = 1680,--40
gap_y = 240,--40
no_buffers = true,
cpu_avg_samples = 1,
uppercase = false,
border_inner_margin = 15,
--colors
color1 = '#D51918',
color2 = '#aaa',
color3 = '#ddd',
};
conky.text = [[
${font Oswald:bold:size=10}${color1}ESPAÇO EM DISCO ${color2} ${hr 2}
${color3}${font Open Sans:size=9}Root: ${alignr}${fs_used_perc /}% ${color1}${fs_bar 6, 140 /}
${color3}${font Open Sans:pixelsize=9}${alignc 49}Uso: ${fs_used /} / ${fs_size /}
${color3}${font Open Sans:size=9}Dados: ${alignr}${fs_used_perc /media/lohhans/Dados}% ${color1}${fs_bar 6, 140 /media/lohhans/Dados}
${color3}${font Open Sans:pixelsize=9}${alignc 49}Uso: ${fs_used /media/lohhans/Dados} / ${fs_size /media/lohhans/Dados}]];
-- memory_rc
conky.config = {
background = false,
font = 'sans:size=10',
--xftfont sans:size=10
use_xft = true,
xftalpha = 0.9,
update_interval = 2,
imlib_cache_size = 0,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
--#own_window_transparent yes
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 180,
own_window_colour = '#0C0006',
double_buffer = true,
minimum_width = 225,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = '#101010',
default_shade_color = '#101010',
default_outline_color = 'green',
alignment = 'top_left',
gap_x = 1680,
gap_y = 360,
no_buffers = true,
cpu_avg_samples = 1,
uppercase = false,
border_inner_margin = 15,
--colors
color1 = '#D51918',
color2 = '#aaa',
color3 = '#ddd',
};
conky.text = [[
${color1}${font Oswald:size=10:bold}MEMÓRIA ${color2} ${hr 2}
${color3}${font Open Sans:size=9}Proc. no topo: ${alignr}${top_mem name 1} : ${top_mem mem 1}
${color3}${font Open Sans:size=9}RAM: ${memperc}% ${alignc}${color1}${membar 5,140}
${color3}${font Open Sans:pixelsize=9}${alignc 49}Uso: ${mem} / ${memmax}
${color3}${font Open Sans:size=9}Swap: ${swapperc}% ${alignc}${color1}${swapbar 5,140}
${color3}${font Open Sans:pixelsize=9}${alignc 58}Uso: ${swap} / ${swapmax}]];
-- network_rc
conky.config = {
background = false,
font = 'sans:size=10',
--xftfont sans:size=10
use_xft = true,
xftalpha = 0.9,
update_interval = 1,
imlib_cache_size = 0,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
--own_window_transparent yes
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 180,
own_window_colour = '#0C0006',
double_buffer = true,
minimum_width = 225, minimum_height = 100,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = '#101010',
default_shade_color = '#101010',
alignment = 'top_left',
gap_x = 1680,
gap_y = 810,
no_buffers = true,
cpu_avg_samples = 1,
uppercase = false,
border_inner_margin = 15,
if_up_strictness = 'link',
--colors
color1 = '#D51918',
color2 = '#aaa',
color3 = '#ddd',
};
conky.text = [[
${color1}${font Oswald:size=10:bold}REDE ${color2} ${hr 2}
${if_up wlp2s0}
${color3}${font Open Sans:size=9}➞ Rede sem fio:
${color3}${font Open Sans:size=9}Down: ${downspeed wlp2s0}/s ${alignr}Up: ${upspeed wlp2s0} /s
${color1}${color1}${downspeedgraph wlp2s0 20,90 444444 eeeeee} ${alignr}${color1}${upspeedgraph wlp2s0 20,90 444444 eeeeee}
${color3} Total: ${totaldown wlp2s0} ${alignr}Total: ${totalup wlp2s0}
${else}${if_up enp0s20u1}
${color3}${font Open Sans:size=9}Down: ${downspeed enp0s20u1}/s ${alignr}Up: ${upspeed enp0s20u1} /s
${color1}${color1}${downspeedgraph enp0s20u1 20,90 444444 eeeeee} ${alignr}${color1}${upspeedgraph enp0s20u1 20,90 444444 eeeeee}
${color3} Total: ${totaldown enp0s20u1} ${alignr}Total: ${totalup enp0s20u1}
${endif}
${if_up enp3s0f1}
${color3}${font Open Sans:size=9}➞ Rede cabeada:
${color3}${font Open Sans:size=9}Down: ${downspeed enp3s0f1}/s ${alignr}Up: ${upspeed enp3s0f1} /s
${color1}${color1}${downspeedgraph enp3s0f1 20,90 444444 eeeeee} ${alignr}${color1}${upspeedgraph enp3s0f1 20,90 444444 eeeeee}
${color3} Total: ${totaldown enp3s0f1} ${alignr}Total: ${totalup enp3s0f1}
${else}${if_up enp0s20u1}
${color3}${font Open Sans:size=9}Down: ${downspeed enp0s20u1}/s ${alignr}Up: ${upspeed enp0s20u1} /s
${color1}${color1}${downspeedgraph enp0s20u1 20,90 444444 eeeeee} ${alignr}${color1}${upspeedgraph enp0s20u1 20,90 444444 eeeeee}
${color3} Total: ${totaldown enp0s20u1} ${alignr}Total: ${totalup enp0s20u1}
${endif}]];
-- processes_rc
conky.config = {
background = false,
font = 'sans:size=10',
--xftfont sans:size=10
use_xft = true,
xftalpha = 0.9,
update_interval = 2,
imlib_cache_size = 0,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
--own_window_transparent yes
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 180,
own_window_colour = '#0C0006',
double_buffer = true,
minimum_width = 225,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = '#101010',
default_shade_color = '#101010',
alignment = 'top_left',
gap_x = 1680,
gap_y = 490,
no_buffers = true,
cpu_avg_samples = 1,
uppercase = false,
border_inner_margin = 15,
--colors
color1 = '#D51918',
color2 = '#aaa',
color3 = '#ddd',
};
conky.text = [[
${color1}${font Oswald:size=10:bold}PROCESSOS ${color2} ${hr 2}
${color3}${font Open Sans:size=9}
CPU Clock Speed: ${alignr}${freq_g} GHz
Total de Processos: ${alignr}$processes ($running_processes running)
${color3}CPU : ${cpu cpu0}% ${alignr}${color1}${cpubar cpu0 6,140}
${color3}CPU1: ${cpu cpu1}% ${alignr}${color1}${cpubar cpu1 6,140}
${color3}CPU2: ${cpu cpu2}% ${alignr}${color1}${cpubar cpu2 6,140}
${color3}CPU3: ${cpu cpu3}% ${alignr}${color1}${cpubar cpu3 6,140}
${color3}CPU4: ${cpu cpu3}% ${alignr}${color1}${cpubar cpu4 6,140}
${color3}CPU5: ${cpu cpu1}% ${alignr}${color1}${cpubar cpu5 6,140}
${color3}CPU6: ${cpu cpu2}% ${alignr}${color1}${cpubar cpu6 6,140}
${color3}CPU7: ${cpu cpu3}% ${alignr}${color1}${cpubar cpu7 6,140}
${color3}CPU8: ${cpu cpu3}% ${alignr}${color1}${cpubar cpu8 6,140}
${color3}Processos no topo:
${font Open Sans:pixelsize=9}Nome: $alignr PID CPU MEM
${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
]];
#!/bin/bash
conky -c /home/lohhans/Conky/time_rc.conf &
conky -c /home/lohhans/Conky/filesystem_rc.conf &
conky -c /home/lohhans/Conky/memory_rc.conf &
conky -c /home/lohhans/Conky/network_rc.conf &
conky -c /home/lohhans/Conky/processes_rc.conf &
conky -c /home/lohhans/Conky/system_rc.conf &
exit
#!/bin/bash
killall conky
exit
-- system_rc
conky.config = {
background = false,
font = 'sans:size=10',
--xftfont sans:size=10
use_xft = true,
xftalpha = 0.9,
update_interval = 2,
imlib_cache_size = 0,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
--#own_window_transparent yes
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 180,
own_window_colour = '#0C0006',
double_buffer = true,
minimum_width = 225,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = '#101010',
default_shade_color = '#101010',
alignment = 'top_left',
gap_x = 1680,
gap_y = 145,
no_buffers = true,
cpu_avg_samples = 1,
uppercase = false,
border_inner_margin = 15,
--colors
color1 = '#D51918',
color2 = '#aaa',
color3 = '#ddd',
};
conky.text = [[
${color1}${font Oswald:size=10:bold}SISTEMA ${color2} ${hr 2}
${color3}${font Open Sans:size=9}
Distribuição: $alignr Linux Mint 19.2
Kernel: $alignr$kernel
Tempo ligado: $alignr$uptime]];
-- time_rc
conky.config = {
background = false,
font = 'sans:size=10',
--xftfont sans:size=10
use_xft = true,
xftalpha = 0.9,
update_interval = 2,
imlib_cache_size = 0,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
--#own_window_transparent yes
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
-- Uncomment and adjust the line below for window's opacity
own_window_argb_value = 180,
own_window_colour = '#0C0006',
double_buffer = true,
minimum_width = 225,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = '#101010',
default_shade_color = '#101010',
alignment = 'top_left',
gap_x = 1680,
gap_y = 10,
no_buffers = true,
cpu_avg_samples = 1,
uppercase = false,
border_inner_margin = 15,
--colors
color1 = '#D51918',
color2 = '#aaa',
color3 = '#ddd',
};
conky.text = [[
${color1}${font Oswald:size=10:bold}HORA ${color2} ${hr 2} ${color3}${font}
${color3}${font Roboto:pixelsize=70}${alignr}${time %H:%M}${font}
${color3}${font Open Sans:pixelsize=11}${alignr}${time %x}${font}]];
@lohhans
Copy link
Author

lohhans commented Aug 13, 2019

Sample:

MyMint

@ysneshy
Copy link

ysneshy commented Oct 3, 2022

muito bom mas no meu coloquei fontes como simbolos ficou mais show pode ver a foto em https://github.com/ysneshy/ na area de about-me

@lohhans
Copy link
Author

lohhans commented Oct 3, 2022

muito bom mas no meu coloquei fontes como simbolos ficou mais show pode ver a foto em https://github.com/ysneshy/ na area de about-me

Ficou massa!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment