A conky profile that allows notes from file to be displayed on desktop

$hr
${color black}Notes:
    ${color black}Overview:
${color blue}${execpi 10 catpath/to/file|sed 's/^/        /g'|grep -v \*d}
    ${color black}Important:
${color red}${execpi 10 cat path/to/file|grep \*i|sed 's/^/        /g'|sed 's/*i//g'|sed 's/*p//g'|grep -v \*d}
    ${color black}In Progress:
${color green}${execpi 10 cat path/to/file|grep \*p|sed 's/^/        /g'|sed 's/*i//g'|sed 's/*p//g'|grep -v \*d}
    ${color black}Done:
${color grey}${execpi 10 cat path/to/file|grep \*d|sed 's/^/        /g'|sed 's/*i//g'|sed 's/*p//g'|sed 's/*d//g'} 
${color black}$hr
The above section should be placed on the `conky.text` section. Please replace all the `path/to/file` with the actual path of the file. Run command `cat path/to/file|grep -v \*d|tee path/to/file>/dev/null` to clean the done section. It could be deployed in crontab or any schedulers to do so. ==I tried ` ${execpi 360 cat ~/桌面/fast_note|grep -v \*d|tee ~/桌面/fast_note>/dev/null}` in the file but this will clear the whole note file for unknown reason.== Markdowns: use a `*i` sign to mark a line as important. The sign won't be included in the note. use a `*p` sign to mark a line as in progress. The sign won't be included in the note. use a `*d` sign to mark a line as done. The sign won't be included in the note. Since it's pretty easy and straightforward to add other markdowns to it, more customized functions could be added. 2017/4/10 18:58 This is my full config file version for reference:
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see .
]]

conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 10,
    cpu_avg_samples = 2,
    default_color = 'black',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'DejaVu Sans Mono:bold:size=12',
    gap_x = 30,
    gap_y = 90,
    max_text_width = 5,
    maximum_width = 400,
    minimum_height = 5,
    minimum_width = 0,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'dock',
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_argb_value = 30000,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false
}

conky.text = [[
$hr
${color black}$nodename - $sysname $kernel on $machine
$hr
${color black}Uptime:$color $uptime
${color black}Frequency (in MHz):$color $freq
${color black}Frequency (in GHz):$color $freq_g
${color black}RAM Usage:$color $mem/$memmax-$memperc% ${membar 4}
${color black}Swap Usage:$color $swap/$swapmax-$swapperc% ${swapbar 4}
${color black}CPU Usage:$color $cpu% ${cpubar 4}
${color black}Processes:$color $processes  ${color black}Running:$color $running_processes
$hr
${color black}File systems:
 /: $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color black}Networking:
IP:${color black}${execpi 3600 myip}
Up:$color ${upspeed wlo1} ${color black} - Down:$color ${downspeed wlo1}
$hr
${color black}Name              PID   CPU%   MEM%
${color black} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color black} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color black} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color black} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$hr
${color black}Notes:
    ${color black}Overview:
${color blue}${execpi 10 cat ~/桌面/fast_note|sed 's/^/        /g'|grep -v \*d}
    ${color black}Important:
${color red}${execpi 10 cat ~/桌面/fast_note|grep \*i|sed 's/^/        /g'|sed 's/*i//g'|sed 's/*p//g'|grep -v \*d}
    ${color black}In Progress:
${color green}${execpi 10 cat ~/桌面/fast_note|grep \*p|sed 's/^/        /g'|sed 's/*i//g'|sed 's/*p//g'|grep -v \*d}
    ${color black}Done:
${color grey}${execpi 10 cat ~/桌面/fast_note|grep \*d|sed 's/^/        /g'|sed 's/*i//g'|sed 's/*p//g'|sed 's/*d//g'}
${color black}$hr
]]