Skip to content

Instantly share code, notes, and snippets.

@fxthomas
Created June 16, 2011 23:50
Show Gist options
  • Save fxthomas/1030589 to your computer and use it in GitHub Desktop.
Save fxthomas/1030589 to your computer and use it in GitHub Desktop.
ConkyRC
# 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-2010 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 <http://www.gnu.org/licenses/>.
#
alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Arial:size=13
xftalpha 0.8
gap_x 20
gap_y 40
minimum_size 5 5
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_transparent yes
own_window_class Conky
own_window_type root # used to be desktop, but override is better
own_window_hints undecorated,below,sticky,skip_pager,skip_taskbar
double_buffer yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
lua_load ~/Scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
TEXT
${voffset 5}
${color Tan1}${font openlogos:size=38}B ${font angelina:size=55}${color Tan1}fx ${color white}linux
${voffset -305}
${color DimGray}
${font}
${font Arial:bold:size=13}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2}
$font${color DimGray}$sysname $kernel $machine
${color DimGray}Core 2 Duo T9550 ${color LightGray}$alignr${freq_g cpu0}Ghz
${color DimGray}Uptime ${color LightGray}$alignr${uptime}
${color DimGray}File System ${color LightGray}$alignr${fs_type}
${color DimGray}Battery ${color LightGray}$alignr${battery}
${battery_bar}
${font Arial:bold:size=13}${color Tan1}PROCESSORS ${color DarkSlateGray}${hr 2}
${color DimGray}${cpugraph}
# $font${color DimGray}Temp ${color LightGray}${alignr}${acpitemp}°C
${color DimGray}CPU1 ${color LightGray}${cpu cpu1}% ${cpubar cpu1}
${color DimGray}CPU2 ${color LightGray}${cpu cpu2}% ${cpubar cpu2}
${font Arial:bold:size=13}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2}
$font${color DimGray}MEM ${color LightGray}$alignc $mem / $memmax $alignr $memperc%
$membar
${font Arial:bold:size=13}${color Tan1}HDD ${color DarkSlateGray}${hr 2}
$font${color DimGray}/ $alignc ${color LightGray}${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
$font${color DimGray}/home $alignc ${color LightGray}${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
${font Arial:bold:size=13}${color Tan1}TOP PROCESSES ${color DarkSlateGray}${hr 2}
${color DimGray}$font${top_mem name 2}${alignr}${color LightGray}${top cpu 2} %
${color DimGray}$font${top_mem name 3}${alignr}${color LightGray}${top cpu 3} %
${color DimGray}$font${top_mem name 4}${alignr}${color LightGray}${top cpu 4} %
${color DimGray}$font${top_mem name 5}${alignr}${color LightGray}${top cpu 5} %
${font Arial:bold:size=13}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2}
$font${color DimGray}IP on eth0 $alignr ${color LightGray}${addr eth0}
${color DimGray}Down $alignr ${color LightGray}${downspeed eth0}/s
${color DimGray}Up $alignr ${color LightGray}${upspeed eth0}/s
${font Arial:bold:size=13}${color Tan2}TIME ${color DarkSlateGray}${hr 2}
${color DarkSlateGray} ${font :size=30}$alignc${time %H:%M}
${voffset -30}${font :bold:size=10}$alignc${time %d %b. %Y}
${font :bold:size=8}$alignc${time %A}
#TEXT
#$nodename - $sysname $kernel on $machine
#$hr
#${color orange}Uptime:$color $uptime
#${color orange}Frequency (in GHz):$color $freq_g
#${color orange}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
#${color orange}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
#${color orange}CPU Usage:$color $cpu% ${cpubar 4}
#${color orange}Processes:$color $processes ${color grey}Running:$color $running_processes
#$hr
#${color orange}File systems:
# / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
#${color orange}Networking:
#Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
#$hr
#${color yellow}Name PID CPU% MEM%
#${color lightgray} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
#${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
#${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
#${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment