代码: 全选
tlcr: 0 庚寅年八月二十日 21:35:40 ~
● dog ~/.conkyrc
# Use Xft?
use_xft yes
xftfont ZhunYuan:size=12
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 400 400
maximum_width 400
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
#border_margin 5
# border width
border_width 0
# Default colors and also border colors
default_color ffffff
default_shade_color black
default_outline_color black
own_window_colour 262626
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 0
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
color0 000000
color1 B64040
color2 5DBE63
color3 E1A738
color4 7372D7
color5 CA4AB3
color6 5DBCBE
color7 FFFFFF
TEXT
${color blue}${tab 200}${font OpenLogos:size=48}B${voffset -5}${font}
${voffset -100}
${font ZhunYuan:size=23} ${color}${time %k:%M:%S}${font}
${color3}${execi 300 lc-农历.py -s}${color}
${color4}${hr}
${color}系统${alignr}
${color3}CPU${color2}${tab 30}${execp echo $(dog /sys/class/hwmon/hwmon1/device/temp1_input) / 1000 | bc}°C
${color3}风扇${color2}${tab 30}${execp echo $(dog /proc/acpi/ibm/fan | grep speed | awk '{print $2}')} /分钟
#Top CPU CPU% MEM%
${color3}cpu${color2}${tab 30}${top name 1}${alignr}${top cpu 1}${top mem 1}
#${top name 2}$alignr${top cpu 2}${top mem 2}
#${top name 3}$alignr${top cpu 3}${top mem 3}
#
#Top MEM CPU% MEM%
${color3}mem${color2}${tab 30}${top_mem name 1}${alignr}${top_mem cpu 1}${top_mem mem 1}
${execp net.perl}
#${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
#${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}
#${color}时间${stippled_hr}
#$HOME/应用/脚本/lc-农历.py -s}
#${color}天气${stippled_hr}
#${color yellow}${execpi 300 wg-天气.perl -c | sed -e 's@,@,\n@g' | sed -e 's@°C @&\n@g'}
${color4}${hr}
${color3}RSS${alignr}
${execpi 600 rr-RSS.perl} # | sed -re 's/.{29}/&\n/g'}
${color4}${hr}
${color3}天气${alignr}
${color2}${voffset -20}${execpi 300 weather.perl | head -n1 | sed -re 's/\x1b\[.*?[mK]//g;s/\t/\n/g'}
${color4}${hr}
${color3}后台${alignr}
${if_running mlnet}${color3}mlnet${color}
${execp mlinfo.perl -s | ansi2conky.perl}${endif}
#${color}网络${stippled_hr}
${color4}${hr}
${color3}待办事项${alignr}
${execpi 20 devtodo --force-colour | ansi2conky.perl | sed -re 's#^\x1b\[\?[0-9]+?h##g'}
${color4}${hr}
tlcr: 0 庚寅年八月二十日 21:35:46 ~
●