myconfigfiles/.config/conky/conky_smallScreen.conf

114 lines
4.2 KiB
Text
Raw Normal View History

2020-06-12 12:27:51 +02:00
2020-10-12 20:07:27 +02:00
--##############################################
--# Settings
--##############################################
conky.config = {
alignment = top_right,
--background = true,
border_width = 1,
color0 = '0077FF',
color1 = '991F00',
color2 = '0000FF',
color3 = 'eb91df',
color4 = 'f2c55a',
color5 = 'a7f0e3',
cpu_avg_samples = 2,
default_color = white,
default_outline_color = green,
default_shade_color = red,
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
gap_x = 1166,
gap_y = 15,
minimum_width = 200,
maximum_width = 200,
minimum_height = 768,
no_buffers = true,
override_utf8_locale = true,
own_window = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
--own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 100,
own_window_type = 'normal',
--own_window_color = 000000
total_run_times = 0,
update_interval = 1,
uppercase = false,
use_spacer = right,
use_xft = true,
xftalpha = 0.8,
font = 'Bitstream Vera Sans Mono:size=8',
}
conky.text = [[
2020-06-12 12:27:51 +02:00
##############################################
#DATE
##############################################
${color0}${font sans-serif:bold:size=8}DATE ${hr 2}$color
${offset 80}${voffset 10}${alignc}${font Trebuchet MS:size=28}${time %H:%M}${font}
${offset 90}${alignc}${font Trebuchet MS:size=8}${time %a %d %b %Y}
##############################################
#SYSTEM
##############################################
${color0}${font sans-serif:bold:size=8}SYSTEM ${hr 2}$color
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
File System: $alignr${fs_type}
Entropy: $alignr[${entropy_perc}]%
#Packages: $alignr${execi 1.0 pacman -Q | wc --lines}
##############################################
#CPU
##############################################
${color0}${font sans-serif:bold:size=8}CPU ${hr 2}$color
${font sans-serif:normal:size=8}${execi 600 lshw | grep CPU | grep produit | awk {'print $2 $4 $6 $7'}}
${font sans-serif:normal:size=8}${cpugraph cpu1 cpu2 33ffff 0000ff}
${font sans-serif:normal:size=8}Core1: ${freq 1} Mhz $alignr T: $color ${exec sensors|grep 'Core 0'|awk '{print $3}' | cut -d "." -f 1} C
${cpu cpu1}% ${offset 5}${color1} ${cpubar cpu1}$color
${font sans-serif:normal:size=8}Core2: ${freq 2} Mhz $alignr T: $color ${exec sensors|grep 'Core 2'|awk '{print $3}' | cut -d "." -f 1} C
${cpu cpu2}% ${offset 5} ${color1} ${cpubar cpu2}$color
${top name 1}${alignr}${top cpu 1} %
${top name 2}${alignr}${top cpu 2} %
${top name 3}${alignr}${top cpu 3} %
${top name 4}${alignr}${top cpu 4} %
${top name 5}${alignr}${top cpu 5} %
##############################################
#MEMORY
##############################################
${color0}${font sans-serif:bold:size=8}MEMORY ${hr 2}$color
${font sans-serif:normal:size=8}Ram: $alignc $mem / $memmax $alignr $memperc%
$membar
${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
${top_mem name 3}${alignr}${top mem 3} %
${top_mem name 4}${alignr}${top mem 4} %
${top_mem name 5}${alignr}${top mem 5} %
##############################################
#DISK
##############################################
${color0}${font sans-serif:bold:size=8}DISK ${hr 2}$color
${color3}${font sans-serif:normal:size=8} / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}$color
${color3}${font sans-serif:normal:size=8} /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}$color
##############################################
#NETWORK
##############################################
${color0}${font sans-serif:bold:size=8}NETWORK ${hr 2}$color
${font sans-serif:normal:size=8}PRIVATE IP $alignr ${if_existing /proc/net/route wlp1s0}${addr wlp1s0}${else}${if_existing /proc/net/route eth0}${addr eth0}${else}Network disconnected${endif}${endif}
${font sans-serif:normal:size=8}PUBLIC IP $alignr${execi 450 curl ipinfo.io/ip}
${downspeedgraph wlp1s0 99cc33 006600}
Down: $alignc ${downspeed wlp1s0}/s $alignr tot: ${totaldown wlp1s0}
${upspeedgraph wlp1s0 ffcc00 ff0000}
Up: $alignc ${upspeed wlp1s0}/s $alignr tot: ${totalup wlp1s0}
2020-10-12 20:07:27 +02:00
]]
2020-06-12 12:27:51 +02:00