myconfigfiles/.config/conky/conky_smallScreen.conf
2020-06-12 12:27:51 +02:00

112 lines
4 KiB
Text

# For ideas about how to modify the conky conf, please see:
# https://github.com/Toory/Conky-config
#
##############################################
# Settings
##############################################
alignment top_right
background yes
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 yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 0
gap_y 15
maximum_width 200
minimum_size 0 0
no_buffers yes
override_utf8_locale yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent no
own_window_type normal
own_window yes
total_run_times 0
update_interval 1
uppercase no
use_spacer right
use_xft yes
xftalpha 0.8
xftfont Bitstream Vera Sans Mono:size=8
own_window_argb_value 100
own_window_argb_visual yes
own_window_colour 000000
TEXT
##############################################
#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}