代码: 全选
# Use Xft?
use_xft yes
xftfont SecretCode:size=13
xftalpha 0.8
text_buffer_size 2048
imlib_cache_size 4096
# 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
background yes
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type desktop
own_window_class Conky
own_window_transparent yes
own_window_argb_visual no
own_window_argb_value 500
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
default_outline_color #000000
# Minimum size of text area
minimum_size 375 0
maximum_width 380
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 1
# border width
border_width 0
# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color black
own_window_colour grey
# 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 95
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 none
# mixer (device)
mixer "pcm"
TEXT
${color #FFFFFF}${goto 0}${voffset 50}${alignc}${font GE Inspira:Regular:size=88}${time %H} ${color #FF0000}${time %M}
${color #FF0000}${goto 228}${voffset -55}${font GE Inspira:size=45}${time %m}${color #FFFFFF}${font GE Inspira:size=18}${goto 297}${voffset 0}${time %Y}
${goto 0}${voffset 6}${alignc}${execpi 300 DJS=`date +%_d`; cal -s | sed '1d' | sed '/ /!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed '1{s/^/\$\{color #FFC0CB}${goto 35}${font SecretCode:size=21}/;s/$/\$\{color #FFC0CB}${goto 0}${voffset 15}${alignc}${font SecretCode:size=21}/}'| sed 's/^/ /' | sed /" $DJS "/s/" $DJS "/" "'${color #00FF00}${font SecretCode:Bold:size=21}'"$DJS"'${color FFFFFF}${font SecretCode:size=21}'" "/}
${color #FFC0CB}${goto 265}${voffset -470}${font OtherSpace:Regular:size=25}s
${color #000000}${goto 41}${voffset 950}${font Ships:size=180}Y