Created
March 15, 2017 09:15
-
-
Save wdog/d38c38211ade90283c83c6a6f828c149 to your computer and use it in GitHub Desktop.
conkyrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use Xft? | |
use_xft yes | |
xftfont mono:size=8 | |
xftalpha 0.8 | |
text_buffer_size 2048 | |
# 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 undecorated,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 1280 0 | |
# Draw shades? | |
draw_shades no | |
# Draw outlines? | |
draw_outline no | |
# Draw borders around text | |
draw_borders no | |
# Draw borders around graphs | |
draw_graph_borders yes | |
# Stippled borders? | |
stippled_borders 0 | |
# border margins | |
border_margin 0 | |
# border width | |
border_width 2 | |
# Default colors and also border colors | |
default_color white | |
color2 1994D1 | |
color3 FF2B00 | |
color4 FFFF00 | |
#default_shade_color black | |
default_outline_color 3c3c3c | |
own_window_colour 3c3c3c | |
# Text alignment, other possible values are commented | |
#alignment top_left | |
#alignment top_right | |
alignment top_right | |
#alignment bottom_right | |
# Gap between borders of screen and text | |
# same thing as passing -x at command line | |
gap_x 5 | |
gap_y 30 | |
# 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 | |
TEXT | |
${offset 5} | |
${color3}${font Liberation:style=Bold:size=8}CPU: ${hr 1 }${font} | |
${color2}CPU ${color}$alignr${cpu}% ${cpugraph 9,300 006600 00FF00} | |
${color2}CPU1${color}$alignr${cpu cpu1}% ${cpubar cpu1 9,300} | |
${color2}CPU2${color}$alignr${cpu cpu2}% ${cpubar cpu2 9,300} | |
${color2}CPU3${color}$alignr${cpu cpu3}% ${cpubar cpu3 9,300} | |
${color2}CPU4${color}$alignr${cpu cpu4}% ${cpubar cpu4 9,300} | |
${color2}LOAD${color}$alignr${loadavg 1} ${loadgraph 9,300 FF0000 00FF00} | |
${color3}${font Liberation:style=Bold:size=8}MEM: ${hr 1 }${font} | |
${color2}MEM${color}$alignr${mem}/${memmax} | |
${membar 9,200} | |
${color2}SWAP${color}$alignr${swap}/${swapmax} | |
${swapbar 9,200} | |
${color3}${font Liberation:style=Bold:size=8}NET: ${hr 1 }${font} | |
${if_existing /proc/net/route eno1}\ | |
${color}IP$alignr${addr eno1} | |
${color}PUBLIC IP$alignr${execi 60 curl ifconf.me} | |
${color2}DOWN${color}$alignr | |
${downspeedgraph eno1 40,600 006600 00ff00 scale -l -t}$alignr${font mono:size=12}${downspeedf eno1} KB/s${font} | |
${color2}UP${color}$alignr | |
${upspeedgraph eno1 40,600 FF9900 FF0000 scale -l -t}$alignr${font mono:size=12}${upspeedf eno1} KB/s${font}${endif} | |
${color3}${font Liberation:style=Bold:size=8}DISK: ${hr 1 }${font} | |
${color2}/${color}$alignr${fs_used /}/${fs_size /} | |
${fs_bar 9,200 /} | |
${if_existing /media/chech/SGOMBRO}${color2}SGOMBRO$alignr${color} ${fs_used /media/chech/SGOMBRO}/${fs_size /media/chech/SGOMBRO/} | |
${fs_bar 9,200 /media/chech/SGOMBRO/}${endif} | |
${color3}${font Liberation:style=Bold:size=8}CPU: ${hr 1 }${font} | |
${color2}Highest CPU $alignr CPU% MEM% ${color} | |
${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} | |
${color3}${font Liberation:style=Bold:size=8}MEM: ${hr 1 }${font} | |
${color2}Highest MEM $alignr CPU% MEM%${color} | |
${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1} | |
${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} | |
${color3}${font Liberation:style=Bold:size=8}LOG: ${hr 1 }${font} | |
${color4}${font mono:size=6}${execi 4 tail -n 35 /var/log/syslog | awk '{$1=$2=$3=$4=""; print substr($0,5)}' |fold -w 150 } | |
${color3}${font Liberation:style=Bold:size=8}STATS: ${hr 1 }${font} | |
${color2}DOWN: $alignr UP:${color} | |
Today: ${execi 60 vnstat -i eno1 | grep "today" | awk '{print $2 $3}'}${alignr}Today: ${execi 60 vnstat -i eno1 | grep "today" | awk '{print $5 $6}'} | |
Week: ${execi 60 vnstat -i eno1 -w | grep "current week" | awk '{print $3 $4}'}${alignr}Week: ${execi 60 vnstat -i eno1 -w | grep "current week" | awk '{print $6 $7}'} | |
Month: ${execi 60 vnstat -i eno1 -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${alignr}Month: ${execi 60 vnstat -i eno1 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment