All pastes #939335 Raw Edit

Something

public text v1 · immutable
·published 2008-03-12 05:48 UTC
rendered paste body
# Conky advanced configuration
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=9
xftfont Heinrich Text:size=14
#xftfont Beast vs SpreadTall:size=16

# Text alpha when using Xft
xftalpha 0.8

# Update interval in seconds
update_interval 2.0

# 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 no

# If own_window is yes, you may use type normal, desktop or override
own_window_type normal

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window is yes, these window manager hints may be used
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_hints undecorated,below,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 300 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
#draw_graph_borders no

# Stippled borders?
stippled_borders 8

# border margins
border_margin 40

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12

# 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 no

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16) 
#min_port_monitors 16

# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256

# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT
${color}$alignc${exec whoami}@$nodename
${color}$alignc$sysname $kernel on $machine
${color lightgrey}$stippled_hr
${color}${alignc}CPU${color}
Frequency: ${freq_dyn_g} of ${freq_g}GHz
Core 1 usage: ${cpu 1}%${alignr}${cpugraph cpu1 20,130 2C4B68 5C9CD9}
CPU temp.: ${execi 10 sensors | grep -o '+[^ ]*C' | head -n 1}
${color lightgrey}$stippled_hr
${color}${alignc}MEMORY${color}
RAM usage:${alignr}$mem / $memmax - used $memperc%
Swap usage:${alignr}$swap / $swapmax - used $swapperc%
/${alignr}${fs_used /} / ${fs_size /} - free ${fs_free_perc /}%
/home${alignr}${fs_used /home} / ${fs_size /home} - free ${fs_free_perc /home}%
${color lightgrey}$stippled_hr
${color}${alignc}NETWORK${color}
Interface: eth0
IP address: ${addr eth0}
Download speed: ${downspeedf eth0}k/s ${alignr}${color}=============> ${color}${totaldown eth0}
${color}Upload speed: ${upspeedf eth0}k/s ${alignr}${color}=============> ${color}${totalup eth0}
${downspeedgraph eth0 20,130 2C4B68 5C9CD9}${alignr}${downspeedgraph eth0 20,130 2C4B68 5C9CD9}
${color lightgrey}$stippled_hr
${color}${alignc}TIMES${color}
${color}Uptime: $color $uptime
${color lightgrey}$stippled_hr
${color}${alignc}DNS Ping${color}
${color}DNS  62.213.2.1:${alignr}${color}${execi 3 ping -c1 62.213.2.1|grep "time=" | sed "s@^.*time@time@" }
${color}DNS 62.213.0.12:${alignr}${color}${execi 3 ping -c1 62.213.0.12|grep "time=" | sed "s@^.*time@time@" }
${color lightgrey}$stippled_hr
${color}${alignc}Погода${color}
${color}${execi 900 /home/h47e/scripts/gismeteo.pl}