Boa noite,
Finalmente como prometido vou mostrar o system monnitor que eu fiz há tempos, não tem lua nem sequer usei sensors ![]()
Aqui está como fica o system monitor com o XFCE, ah e antes que perguntem a dock embaixo é a cairo-dock
Agora só o widget
Tenho várias variantes 1, 2, 4 e 6 cores mas a base é mesma, este que uso é de 6 cores
Código do widget
###########################################################################
# Rainbow System Monitor #
# 6 core CPU (Six Core) #
# #
# This is a complete system monitor, using many of the rainbow colors. #
# To change colors, simply goto section colors and change its hex colors. #
# #
# Author: José Filipe Santos <zefilipe.groups@gmail.com> #
# Creation date: 06-09-2018 #
# Last update: 23-07-2020 #
###########################################################################
# Use Xft?
use_xft yes
xftfont mono:size=10
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type desktop
#own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 0 0
maximum_width 260
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 0
# border margins
border_margin 1
# border width
border_width 0
# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color black
own_window_colour 000000
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 30
gap_y 30
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 6
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
own_window_argb_value 0
own_window_argb_visual yes
# Colors
color1 77BFB0 # separator
color2 ff6e00 # Cpu Graph's
color3 DB00FF # Memory / RAM
color4 9FA7FF # Swap
color5 32CF00 # Download
color6 DF1000 # Upload
TEXT
${color1}SYSTEM ${hr 2}
${color}User:${alignr}${execi 28000 users | cut -d " " -f1}
${color}Date:${alignr}${time %a %d-%m-%Y %H:%M:%S}
${color}Uptime:${alignr}${uptime}
${color}Release:${alignr}${execi 28000 lsb_release -i -s} ${execi 28000 lsb_release -r -s} (${execi 28000 lsb_release -c -s})
${color}Kernel:${alignr}${kernel}
${color1}RESOURCES ${hr 2}
${color}CPU1 ${cpu cpu1}%${alignr}${color2}${cpugraph cpu1 16,180}
${color}CPU2 ${cpu cpu2}%${alignr}${color2}${cpugraph cpu2 16,180}
${color}CPU3 ${cpu cpu3}%${alignr}${color2}${cpugraph cpu3 16,180}
${color}CPU4 ${cpu cpu4}%${alignr}${color2}${cpugraph cpu4 16,180}
${color}CPU5 ${cpu cpu5}%${alignr}${color2}${cpugraph cpu5 16,180}
${color}CPU6 ${cpu cpu6}%${alignr}${color2}${cpugraph cpu6 16,180}
${color}Mem ${memperc}%${alignr}${color3}${membar 16,180}
${color}Swap ${swapperc}%${alignr}${color4}${swapbar 16,180}
${if_up eth0}
${color1}NETWORK (eth0) ${hr 2}
${color}Receiving ${downspeedf eth0} KB/s ${alignr}${color5}${downspeedgraph eth0 10,80}
${color}Sending ${upspeedf eth0} KB/s ${alignr}${color6}${upspeedgraph eth0 10,80}
${else}
${if_up eno1}
${color1}NETWORK (eno1) ${hr 2}
${color}Receiving ${downspeedf eno1} KB/s ${alignr}${color5}${downspeedgraph eno1 10,80}
${color}Sending ${upspeedf eno1} KB/s ${alignr}${color6}${upspeedgraph eno1 10,80}
${else}
${if_up wlan0}
${color1}NETWORK (wlan0) ${hr 2}
${color}Receiving ${downspeedf wlan0} KB/s ${alignr}${color5}${downspeedgraph wlan0 10,80}
${color}Sending ${upspeedf wlan0} KB/s ${alignr}${color6}${upspeedgraph wlan0 10,80}
${else}
${if_up wlp2s0}
${color1}NETWORK (wlp2s0) ${hr 2}
${color}Receiving ${downspeedf wlp2s0} KB/s ${alignr}${color5}${downspeedgraph wlp2s0 10,80}
${color}Sending ${upspeedf wlp2s0} KB/s ${alignr}${color6}${upspeedgraph wlp2s0 10,80}
${else}
${color1}NETWORK ${hr 2}
${color}Network Interface not specified !
${endif}
${endif}
${endif}
${endif}
${color1}PROCESSES ${hr 2}
${color}Name${goto 135}CPU%${goto 190}MEM
${color}${top name 1}${goto 120}${top cpu 1}${goto 190}${top_mem mem_res 1}
${color}${top name 2}${goto 120}${top cpu 2}${goto 190}${top_mem mem_res 2}
${color}${top name 3}${goto 120}${top cpu 3}${goto 190}${top_mem mem_res 3}
${color}${top name 4}${goto 120}${top cpu 4}${goto 190}${top_mem mem_res 4}
${color}${top name 5}${goto 120}${top cpu 5}${goto 190}${top_mem mem_res 5}

