Skip to content

Instantly share code, notes, and snippets.

@indrora
Created February 10, 2012 22:54
Show Gist options
  • Save indrora/1793764 to your computer and use it in GitHub Desktop.
Save indrora/1793764 to your computer and use it in GitHub Desktop.
Indrora's Conky config

Indrora's Conky Config

This is my Conky configuration. It's based on the Metro style from MS and requires a font (Segoe UI Light), included.

USING THIS

Make sure and extract conky_res.zip to your ~/.config directory.

If the battery status doesn't work make sure and do a chmod a+x ~/.config/conky/batt.sh

This should fix up any basic problems.

segoe UI and its friends are included in segoe.zip

have fun!

# 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_left
background yes
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 Segoe UI Light:size=16
update_interval 0.5
uppercase no
x_gap 8
# FIX: Making things run REALLY FUCKING SLOW
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
double_buffer yes
TEXT
${font Segoe UI Light:size=40}${time %H:%M %P}${font}
${font Segoe UI Light:size=58}${time %A, %B %d %Y}${font}
${offset 40}${voffset -12}${font Segoe UI Light:size=22}${if_up eth0}Up: ${addr eth0}${else}Down${endif}
${offset 42}${voffset 3}${font Segoe UI Light:size=22}${wireless_link_qual eth1}%${voffset -2} ${font} ${font Segoe UI:size=16}${alignr 10}${offset -200}${if_up eth1}Connected to ${wireless_essid eth1} (${addr eth1})${else}Not connected${endif}
${offset 40}${voffset 08}${font Segoe UI Light:size=22}${if_match "${battery}" == "charged"}Charged${else}${battery}${font Segoe UI:size=16}${voffset -2}${offset 4}${battery_time} remaining${font}${endif}
${offset 36}${voffset 10}${font Segoe UI Light:size=22}${fs_free_perc /}%${font} free on / (${fs_free /})
${offset 36}${voffset 9}${font Segoe UI Light:size=22}${memperc}%${font}${voffset -2} of ${voffset -6}${font Segoe UI Light:size=22}${memmax}${font}${voffset -2} memory used
${offset 36}${voffset 14}Kernel ${voffset -6}${font Segoe UI Light:size=22}${kernel}${font} (${machine})
${offset 36}${voffset 10}Network GW is ${voffset -6}${font Segoe UI Light:size=22}${gw_ip}${font}${voffset -2} on ${voffset -5}${font Segoe UI Light:size=22}${gw_iface}${font}
${image ~/.config/conky/eth.png -p 0,133 -s 32x32}
${image ~/.config/conky/wifi.png -p 0,169 -s 32x32}
${image ~/.config/conky/disk.png -p 0,240 -s 32x32}
${image ~/.config/conky/ram.png -p 0,276 -s 32x32}
${image ~/.config/conky/kernel.png -p 0,312 -s 32x32}
${image ~/.config/conky/gw.png -p 0,348 -s 32x32}
${execpi 10 ~/.config/conky/batt.sh}
This file has been truncated, but you can view the full file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment