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

alignment br
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
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 10
own_window_type panel
update_interval 1
use_xft yes
xftfont NotoSans:size=8:#weight=bold
#xftfont Ubuntu:size=8:#weight=bold

TEXT
${voffset -3}${alignr}TopCPU${color 969696}${top name 1}${color} ${if_existing /sys/class/net/enp8s0/operstate up}LAN${color #C8C8C8}${downspeed enp8s0}$color${upspeed enp8s0}${if_up tun0}${color #969696}(VPN)$color${else}(${color #C8C8C8}NoVPN$color)${endif}${endif}${if_existing /sys/class/net/wlo1/operstate up}WAN@${color #969696}${wireless_link_qual_perc wlo1}%${color}${color #C8C8C8}${downspeed wlo1}$color${upspeed wlo1}${if_up tun0}${color #969696}(VPN)$color${else}(${color #C8C8C8}NoVPN${color})${endif}${endif}${if_existing /sys/class/power_supply/BAT0/present}${if_match "$battery_short" != "F"}BAT${color #C8C8C8}${battery_time}${color}${endif}${if_match "$battery_short" == "F"}BAT${color #969696}${battery_short}${color}${endif}${endif}Vol${color #969696}${execi 10 pacmd list-sinks | awk '/^\svolume:/{i++} i=='1'{print $5;exit}'}$color:${time %a:%d:%m:%Y:}${color #C8C8C8}${time %H:%M}$color${time :%S} 
