#   name: Placidity
#   type: conkyrc
# author: Petre Teodorescu
#  terms: GNU GPL
#.conkyrc1

alignment bl
border_inner_margin 0
border_outer_margin 0
border_width 0
cpu_avg_samples 2
default_color 646464
double_buffer yes
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0 # horizontal text gap
gap_y -3 # vertical text gap
minimum_size 10280
net_avg_samples 2
own_window yes
own_window_colour 000000
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
own_window_argb_visual no
own_window_argb_value 150
own_window_type panel
update_interval 1
use_xft yes
xftfont NotoSans:size=8:#weight=bold
short_units yes

TEXT
 ${voffset -3}CPU${color #C8C8C8}${cpu cpu}%$color${color #969696}${execi 10 sensors | grep 'Core 0' | awk '{print $3}'}${color}Load${color #C8C8C8}${loadavg 1}${color}RAM${color #C8C8C8}$mem$color${color #969696}$swap${color}${exec uname -n}0${color #C8C8C8}${fs_free /}${color}${if_existing /dev/sdb}${execi 10 cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='1'{print $1;exit}'}${color #C8C8C8}${execi 11 df -h | grep $(cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='1'{print $1;exit}') |  awk '{print $4}'}${color}${endif}${if_existing /dev/sdc}${execi 10 cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='2'{print $1;exit}'}${color #C8C8C8}${execi 11 df -h | grep $(cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='2'{print $1;exit}') |  awk '{print $4}'}${color}${endif}${if_existing /dev/sdd}${execi 10 cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='3'{print $1;exit}'}${color #C8C8C8}${execi 11 df -h | grep $(cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='3'{print $1;exit}') |  awk '{print $4}'}${color}${endif}${if_existing /dev/sde}${execi 10 cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='4'{print $1;exit}'}${color #C8C8C8}${execi 11 df -h | grep $(cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='4'{print $1;exit}') |  awk '{print $4}'}${color}${endif}${if_existing /dev/sdf}${execi 10 cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='5'{print $1;exit}'}${color #C8C8C8}${execi 11 df -h | grep $(cd /media/$USER && find "$PWD" -maxdepth 0 -type d | while read dir; do ls; done | awk '/^/{i++} i=='5'{print $1;exit}') |  awk '{print $4}'}${color}${endif}
