conky.config = {
background = true,
update_interval = 1,
total_run_times = 0,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 116384,
max_user_text = 65536,
temperature_unit = 'celsius',
short_units = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_type = 'panel', -- desktop, dock, panel, normal, override
own_window_class = 'Conky',
own_window_hints = 'below,undecorated,sticky,skip_taskbar,skip_pager', --below,undecorated,sticky,skip_taskbar,skip_pager
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 200,
imlib_cache_size = 1000000,
imlib_cache_flush_interval = 3600,
border_width = 0,
border_inner_margin = 0,
border_outer_margin = 10,
show_graph_scale = false,
show_graph_range = false,
minimum_width = 405,
maximum_width = 405,
minimum_height = 2160,
xinerama_head = 0,
net_avg_samples = 2,
cpu_avg_samples = 2,
alignment = 'top_right',
extra_newline = false,
uppercase = false,
use_spacer = 'none',
use_xft = true,
xftalpha = 0,
xftfont = Terminus,
gap_x = 0,
gap_y = 0,
draw_shades = false,
default_shade_color = '777777',
draw_blended=true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
if_up_strictness = 'address',
stippled_borders = 0,
default_color = 'FFFFFF',
default_outline_color = '777777',
--log_file = '~/Git/linux/err.log',
color1 = 'FFFFFF', -- white
color2 = 'FFFF50', -- yellow
color3 = 'FFA800', -- orage
color4 = 'FF393B', -- red
color5 = '75839D', -- lightblue
color6 = '2C3548', -- teal
color7 = '7E1500', -- darkred
color8 = 'lightyellow', -- lightyellow
color9 = '335A29', -- green
}
conky.text = [[
${goto 40}${color5}${font Terminus:Bold:size=10}Today${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -12}${font Terminus:Bold:size=8}${goto 175}${color4}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_x}°C${color}${font}
${voffset -12}${font Terminus:Bold:size=8}${goto 175}${color1}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_n}°C${color}${font}
${voffset -15}${font Terminus:Bold:size=8}${goto 175}${color5}${execpi 10 ~/Git/linux/sc_data.sh weather_tmp_m}°C${color}${font}
${voffset -115}${font Terminus:Bold:size=18}${color1}${goto 230}${time %a %d %b}${color}${font}
${voffset -0}${font Terminus:Bold:size=24}${goto 230}${color2}${time %H:%M}${font Terminus:Bold:size=20}${alignr}${time %S}${color}${font}
${voffset -15}${font Terminus:Bold:size=12}${goto 232}N.York:${alignr}${font Terminus:Regular:size=12}${tztime America/New_York %H:%M:%S}${font}
${voffset -10}${font Terminus:Bold:size=12}${goto 232}London:${alignr}${font Terminus:Regular:size=12}${tztime Europe/London %H:%M:%S}${font}
${voffset -10}${font Terminus:Bold:size=12}${goto 232}Tokyo :${alignr}${font Terminus:Regular:size=12}${tztime Asia/Tokyo %H:%M:%S}${font}
${voffset -60}${font Terminus:Bold:size=10}${color2}${goto 20}${execpi 10 ~/Git/linux/sc_data.sh next_1_day_fw}${goto 90}${execpi 10 ~/Git/linux/sc_data.sh next_2_day_fw}${goto 160}${execpi 10 ~/Git/linux/sc_data.sh next_3_day_fw}${color}${font}
${voffset -50}
${goto 40}${font Terminus:Bold:size=10}${color5}Calendar${hr}${color}${font}
${voffset -10}${font Terminus:Bold:size=11}${alignc}${color}${execpi 10 ~/Git/linux/sc_data.sh calendar}${color}${font}
${voffset -90}
${goto 40}${font Terminus:Bold:size=10}${color5}System${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 20}USER@HOST:${goto 120}${color3}${execpi 10 whoami}${color}${color4}@${color}${color5}${execpi 10 hostname -s}${color}
${goto 20}UPTIME:${goto 120}${color2}${uptime}${color}
${goto 20}DISTRO:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh distroversion}${color}
${goto 20}KERNEL:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh kernelversion}${color}
${goto 20}ENVIRONMENT:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh graphic_envin}${color}
${goto 20}MANAGER:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh envinrmanager}${color}
${goto 20}THEME:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh envinrontheme}${color}
${goto 20}RESOLUTION:${goto 120}${color2}${execpi 10 ~/Git/linux/sc_data.sh x11resolution}${color}${font}
${voffset -50}
${goto 40}${font Terminus:Bold:size=10}${color5}Hardware${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh mobo_manufact} ${execpi 10 ~/Git/linux/sc_data.sh mobo_modelver}${goto 240}${execpi 10 ~/Git/linux/sc_data.sh fan1_rpm_spee} RPM${alignr}${execpi 10 ~/Git/linux/sc_data.sh case_fan_rpms} RPM${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh gpu_manufactu}${color2}${alignr}${execpi 10 ~/Git/linux/sc_data.sh gpu_temperatu}°C${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh cpu_manufectu}${goto 240}${color}${color2}${cpu cpu0}%${color}${goto 275}${goto 295}${color2}${freq_g 0}GHz${color}${alignr}${color2}${execpi 10 ~/Git/linux/sc_data.sh cpu_temperatu}°C${color}
${alignr}${cpugraph cpu0 25,315 52ff00 6edd21 -t}${font}
${voffset -55}
${goto 40}${font Terminus:Bold:size=10}${color5}Memory${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -15}
${goto 20}RAM:${goto 100}${color2}${memmax}${goto 170}${color4}${mem}${color}${goto 250}${color9}${memfree}${color}${goto 325}${color2}${memperc}%${color}
${goto 100}${color2}${execpi 10 ~/Git/linux/sc_data.sh memory_slotty}${goto 170}${execpi 10 ~/Git/linux/sc_data.sh memory_cloksp}Mhz${color}${goto 250}${execpi 10 ~/Git/linux/sc_data.sh mobo_ddr_used} / ${execpi 10 ~/Git/linux/sc_data.sh mobo_ddr_slot} slots
${goto 20}${voffset -27}${alignr}${membar 10,50}
${goto 20}${voffset 0}${alignr}${memgraph 10,50 859900 DC322F scale -t}${font}
${voffset -65}
${goto 40}${voffset 20}${font Terminus:Bold:size=10}${color5}Network${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -15}
${goto 20} \
${if_existing /sys/class/net/enp7s0/operstate up}\
${if_existing /proc/net/route enp7s0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,850 -s 40x40}${goto 40}${color2}${addr enp7s0}${goto 195}${execpi 10 ~/Git/linux/sc_data.sh public_ip_add}${goto 345}On${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,850 -s 40x40}${goto 40}${color4}${addr enp7s0}${goto 195}Offline${goto 345}Off${color}\
${endif}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,850 -s 40x40}${goto 40}${color4}${addr enp7s0}${goto 195}Disconnected${goto 345}Off${color}\
${endif}
${goto 40}UL: ${upspeedgraph enp7s0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed enp7s0} ${goto 195}DL:${goto 215} ${downspeedgraph enp7s0 10,58 859900 DC322F scale -t}${goto 285}${downspeed enp7s0}
${goto 20} \
${if_existing /sys/class/net/wlp3s0/operstate up}\
${if_existing /proc/net/route wlp3s0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,895 -s 40x40}${color2}${goto 40}${addr wlp3s0}${goto 195}${execpi 10 ~/Git/linux/sc_data.sh public_ip_add}${goto 315}${wireless_essid wlp3s0}${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,895 -s 40x40}${color4}${goto 40}${addr wlp3s0}${goto 195}Offline${goto 285}${wireless_essid wlp3s0}${color}\
${endif}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,895 -s 40x40}${color4}${goto 40}${addr wlp3s0}${goto 195}Disconnected${goto 285}${wireless_essid wlp3s0}${color}${color}\
${endif}
${goto 40}UL: ${upspeedgraph wlp3s0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed wlp3s0} ${goto 195}DL:${goto 215} ${downspeedgraph wlp3s0 10,58 859900 DC322F scale -t}${goto 285} ${downspeed wlp3s0}${color2}${goto 347}${wireless_link_qual wlp3s0}${goto 355}%
${goto 20} \
${if_existing /proc/net/route tun0}\
${goto 20}${image ~/Git/linux/conky_img/g.png -p 375,940 -s 40x40}${goto 40}${color2}${addr tun0}${goto 195}${execpi 10 sudo nmcli connection show --active | grep vpn |awk '{print $1}'}${goto 345}On${color}\
${else}\
${goto 20}${image ~/Git/linux/conky_img/r.png -p 375,940 -s 40x40}${goto 40}${color4}${addr tun0}${goto 195}Disconnected${goto 345}Off${color}\
${endif}\
${goto 40}UL: ${upspeedgraph tun0 10,58 859900 DC322F scale -t}${goto 130} ${upspeed tun0} ${goto 195}DL:${goto 215} ${downspeedgraph tun0 10,58 859900 DC322F scale -t}${goto 285}${downspeed tun0}
${voffset -30}${font}
${goto 40}${voffset -5}${font Terminus:Bold:size=10}${color5}Storage${hr}${color}${font}${font Terminus:Bold:size=8}
${voffset -10}
${goto 20}Sata:${color2}${goto 100}R: ${diskio_read /dev/sda}${goto 170}W: ${diskio_write /dev/sda}${goto 250}I: ${diskio /dev/sda}${color}${alignr}${diskiograph /dev/sda 10,50 859900 DC322F scale -t}
${goto 20}/ ${goto 100}${color2}${fs_size /}${color}${goto 170}${color4}${fs_used /}${goto 250}${color9}${fs_free /}${color}${alignr}${fs_bar 10,50 /}${color}
${goto 20}0: ${color2}${execpi 10 ~/Git/linux/sc_data.sh nvme0_tempera}${goto 100}R: ${diskio_read /dev/nvme0n1}${goto 170}W: ${diskio_write /dev/nvme0n1}${goto 250}I: ${diskio /dev/nvme0n1}${color}${alignr}${diskiograph /dev/nvme0n1 10,50 859900 DC322F scale -t}
${goto 20}/FS/DATA ${goto 100}${color2}${fs_size /FS/DATA}${color}${goto 170}${color4}${fs_used /FS/DATA}${goto 250}${color9}${fs_free /FS/DATA}${color}${alignr}${fs_bar 10,50 /FS/DATA}${color}
${goto 20}1: ${color2}${execpi 10 ~/Git/linux/sc_data.sh nvme1_tempera}${goto 100}R: ${diskio_read /dev/nvme1n1}${goto 170}W: ${diskio_write /dev/nvme1n1}${goto 250}I: ${diskio /dev/nvme1n1}${color}${alignr}${diskiograph /dev/nvme1n1 10,50 859900 DC322F scale -t}
${goto 20}/FS/GAME ${goto 100}${color2}${fs_size /FS/GAME}${color}${goto 170}${color4}${fs_used /FS/GAME}${goto 250}${color9}${fs_free /FS/GAME}${color}${alignr}${fs_bar 10,50 /FS/GAME}${color}
${if_mounted /FS/BACK}
${goto 20}U: ${color2}${goto 100}R: ${diskio_read /dev/sda1}${goto 170}W: ${diskio_write /dev/sda1}${goto 250}I: ${diskio /dev/sda1}${color}${alignr}${diskiograph /dev/sda1 10,50 859900 DC322F scale -t}
${goto 20}/FS/BACK ${goto 100}${color2}${fs_size /FS/BACK}${color}${goto 170}${color4}${fs_used /FS/BACK}${goto 250}${color9}${fs_free /FS/BACK}${color}${alignr}${fs_bar 10,50 /FS/BACK}${color}
${endif}
${voffset -5p=}${font}
${goto 40}${voffset -20}${font Terminus:Bold:size=10}${color5}CPU Usage${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -15}
${color7}${goto 5}${top pid 1}${goto 85}${top name 1}${goto 230}${top cpu 1}${goto 340}${top user 1}
${color4}${goto 5}${top pid 2}${goto 85}${top name 2}${goto 230}${top cpu 2}${goto 340}${top user 2}
${color orange}${goto 5}${top pid 3}${goto 85}${top name 3}${goto 230}${top cpu 3}${goto 340}${top user 3}
${color2}${goto 5}${top pid 4}${goto 85}${top name 4}${goto 230}${top cpu 4}${goto 340}${top user 4}
${color8}${goto 5}${top pid 5}${goto 85}${top name 5}${goto 230}${top cpu 5}${goto 340}${top user 5}
${color white}${goto 5}${top pid 6}${goto 85}${top name 6}${goto 230}${top cpu 6}${goto 340}${top user 6}
${color7}${goto 5}${top_mem pid 1}${goto 85}${top_mem name 1}${goto 247}${top mem_res 1}${goto 340}${top mem_vsize 1}
${color4}${goto 5}${top_mem pid 2}${goto 85}${top_mem name 2}${goto 247}${top mem_res 2}${goto 340}${top mem_vsize 2}
${color orange}${goto 5}${top_mem pid 3}${goto 85}${top_mem name 3}${goto 247}${top mem_res 3}${goto 340}${top mem_vsize 3}
${color2}${goto 5}${top_mem pid 4}${goto 85}${top_mem name 4}${goto 247}${top mem_res 4}${goto 340}${top mem_vsize 4}
${color8}${goto 5}${top_mem pid 5}${goto 85}${top_mem name 5}${goto 247}${top mem_res 5}${goto 340}${top mem_vsize 5}
${color white}${goto 5}${top_mem pid 6}${goto 85}${top_mem name 6}${goto 247}${top mem_res 6}${goto 340}${top mem_vsize 6}
${color}FG = $running_processes${alignc}BG = $processes${alignr}TH = $threads${font}
${voffset -45}
${goto 40}${font DeJavu:Regular:size=10}${color5}Tasks${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -5}${font Mono:Regular:size=6}${exec ~/Git/linux/sc_data.sh task}${font}
${voffset -45}
${goto 40}${font DeJavu:Regular:size=10}${color5}Notes${hr}${color}${font}${font Terminus:Bold:size=7}
${voffset -5}${font Mono:Regular:size=6}${exec ~/Git/linux/sc_data.sh note}${font}
${if_match "${execpi 10 /FS/DATA/juliano/Git/linux/sc_data.sh chk_users_log && echo 1 || echo 0}" == "1"}${image /FS/DATA/juliano/Git/linux/conky_img/x.png -p 60,550 -s 300x600}${endif}
${execpi 10 brweather --imagem1=CN -p 0,0 -s 150x150 -f 3600}
${execpi 10 brweather --imagem1=C1 -p 20,120 -s 50x50 -f 3600}
${execpi 10 brweather --imagem1=C2 -p 90,120 -s 50x50 -f 3600}
${execpi 10 brweather --imagem1=C3 -p 160,120 -s 50x50 -f 3600}
${image /FS/DATA/juliano/Git/linux/conky_img/u.png -p 147,35 -s 15x15 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/t.png -p 142,57 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/d.png -p 147,83 -s 15x15 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/pin.png -p 0,0 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cal.png -p -2,192 -s 40x40 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/yoda.ico -p -5,380 -s 50x50 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/arch.png -p 280,430 -s 130x95 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/pc.png -p 0,570 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/mobo.png -p 60,595 -s 25x25 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/gpu.png -p 57,625 -s 40x26 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cpu.png -p 60,650 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/graph.png -p 60,682 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/fan.png -p 216,600 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/fan.png -p 335,600 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/term.png -p 360,630 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/term.png -p 360,660 -s 20x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/ram.png -p 0,730 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/network.png -p 0,820 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cable.png -p 5,855 -s 25x25 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/wifi.png -p 0,905 -s 30x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/ovpn.png -p 2,945 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/nvme.png -p 0,1000 -s 40x20 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/tux.png -p 325,1030 -s 25x32 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/joypad.png -p 320,1077 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/raid.png -p 320,1121 -s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/backup.png -p 323,1165-s 35x35 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/cpusage.png -p 0,1233 -s 28x28 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/todo.png -p 0,1480 -s 30x30 -f 86400 -n 1}
${image /FS/DATA/juliano/Git/linux/conky_img/notes.png -p 5,1825 -s 25x25 -f 86400 -n 1}
]]