SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#2551 2011-08-07 21:56:05

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: My Conky Config

#==============================================================================
#  ConkyHXR
#
#  Date    : 03/08/2011
#  author  : xeNULL
#  version : v0.1
#  license : Distributed under the terms of GNU GPL version 2 or later
#
#==============================================================================

background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius
short_units yes

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 25
gap_y 40

minimum_size 180 750
maximum_width 180
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

default_bar_size 150 20

override_utf8_locale yes
use_xft yes
xftfont Pragmata:9
xftalpha 0.5
uppercase no

default_color FFFFFF
color1 DDDDDD
color2 AAAAAA
color3 888888
color4 FFFFFF

lua_load ~/.scripts/conkyHXR.lua
lua_draw_hook_post main

TEXT
${voffset 25}${font Pragmata:size=9} /// S Y S T E M ///

${voffset 25}${color4}${offset 55}${cpugraph 20,115 999999 ffffff}${color}
${voffset -20}${offset 45}${font Pragmata:size=9}${color}CPU${offset 65}
${offset 55}${font Pragmata:size=8,weight:normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 55}${font Pragmata:size=8,weight:normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 55}${font Pragmata:size=8,weight:normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 55}${font Pragmata:size=8,weight:normal}${color3}${top name 4}${alignr}${top cpu 4}%
${offset 55}${font Pragmata:size=8,weight:normal}${color3}${top name 5}${alignr}${top cpu 5}%

${voffset 30}${color4}${offset 55}${memgraph 5,115  999999 ffffff -l}${color}
${voffset -15}${offset 45}${font Pragmata:size=9}${color}MEM
${offset 55}${font Pragmata:size=8,weight:normal}${color4}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 55}${font Pragmata:size=8,weight:normal}${color1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 55}${font Pragmata:size=8,weight:normal}${color2}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 55}${font Pragmata:size=8,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 4}%
${offset 55}${font Pragmata:size=8,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 5}%

${voffset 25}${offset 55}${diskiograph 20,115 999999 ffffff}
${voffset -20}${offset 45}${font Pragmata:size=9}${color}DISK
${offset 55}${font Pragmata:size=8,weight:normal${alignr}}${color}/ ${fs_used /} -  ${fs_size /}

${voffset 5}${color4}${offset 10}${upspeedgraph eth0 20,70 999999 ffffff}${alignr}${offset 0}${upspeedgraph wlan0 20,70 999999 ffffff}${color}
${color4}${offset 10}${downspeedgraph eth0 20,70 999999 ffffff}${alignr}${offset 0}${downspeedgraph wlan0 20,70 999999 ffffff}${color}
  ${voffset 8}${offset 10}${font Pragmata:size=9}${color}ETHERNET       WIRELESS
  ${offset 10}${color2}${font Pragmata:size=8,weight:normal}${addr eth0}${alignr}${offset -10}${addr wlan0}

${voffset 42}${offset 45}${font Pragmata:size=9}${color4}MUSIC${color}
${offset 55}${hr}
${font Pragmata:size=8}${offset 55}${color4}Song${color} 
${offset 55}${color3}${exec mocp -Q %song}${color}
${offset 55}${color4}Artist${color} 
${offset 55}${color3}${exec mocp -Q %artist}${color}
${offset 55}${color4}Album${color} 
${offset 55}${color3}${exec mocp -Q %album}${color}
${offset 55}${hr}
${offset 55}${alignr}${color3}${exec mocp -Q %ct} - ${exec mocp -Q %tt}${color}
${voffset -12}${offset 55}${blink ${color4}${exec mocp -Q %state}${color}

${image ~/.scripts/usdesk.png -p 3,0 -s 30x10}${image ~/.scripts/usdesk.png -p 47,0 -s 30x10}${image ~/.scripts/usdesk.png -p 91,0 -s 30x10}${image ~/.scripts/usdesk.png -p 135,0 -s 30x10}${if_match ${desktop}==1}${image ~/.scripts/sdesk.png -p 3,0 -s 30x10}${endif}${if_match ${desktop}==2}${image ~/.scripts/sdesk.png -p 47,0 -s 30x10}${endif}${if_match ${desktop}==3}${image ~/.scripts/sdesk.png -p 91,0 -s 30x10}${endif}${if_match ${desktop}==4}${image ~/.scripts/sdesk.png -p 135,0 -s 30x10}${endif}
${image ~/images/wallpapers/avatar.png -p 3,640 -s 100x100}

Last edited by xeNULL (2011-08-07 22:01:25)

Offline

Be excellent to each other!

#2552 2011-08-08 18:15:16

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: My Conky Config

Offline

#2553 2011-08-08 23:51:27

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: My Conky Config

Offline

#2554 2011-08-09 10:21:20

kbmonkey
#! Die Hard
From: South Africa
Registered: 2011-01-14
Posts: 879
Website

Re: My Conky Config

@dlm955 that bargraph is uber! I love that look, so LED. Might check out that lua script for it.

@Sector11, wow some rant! He he. What if Google wanted to rush out the OS so they improvised on the hardware for the meanwhile, hence the Caps keys. That aside, I'm anti Caps lock, it's just a glorified cruise control for 'cool' cool xmodmap it to something useful, perhaps xbill is a suitable replacement lol

@xeNULL you have made it so nice!

Offline

#2555 2011-08-09 10:59:28

kbmonkey
#! Die Hard
From: South Africa
Registered: 2011-01-14
Posts: 879
Website

Re: My Conky Config

# minfo conky -- for the minimalist!
# 
# minimalist conky is a horizontal style config.
# configure your desktop margins so conky is always visible.
# 
# made from scratch using the conky wiki as reference.
# 
# features:
#  * the usual system infos, includes top 2 procs cpu%
#  * now playing, todo items and weather
# 
# notes:
#  * includes examples for now playing via deadbeef, mpd and moc
#  * todo item from plain text file ~/todo, first two lines sed'd into one
#  * see bottom for examples and notes
# 
# feel free to tweak :)
# 
# ~ kbmonkey
# 
# # # # # # # # # # # # # #

alignment                   top_left
use_xft                     yes
xftfont                     Monospace:size=9
xftalpha                    1
out_to_console              no
update_interval             3
draw_shades                 no
own_window                  yes
own_window_type             override
own_window_transparent      no
double_buffer               yes
#own_window_type             normal
stippled_borders            1
border_width                1
draw_borders                no
gap_x                       6
gap_y                       0
use_spacer                  yes

# colors
# # # # # # # # # # # # # #
default_color               ffff00  # the border and pipes between outputs
own_window_colour           000000  # background
color1                      7e9ee0  # processing
color2                      88cc88  # networking
color3                      9999cc  # disks
color4                      d3c76e  # top
color5                      dddd00  # irc
color6                      b09ce8  # weather
color7                      e0af7e  # todo
color8                      88aaff  # now playing
color9                      d3c76e  # infos
 
# [first line] # # # # # # # # # # # # #

TEXT
${color9}$nodename resurrected ${uptime_short} ago ${color}☼${color6} ${execi 300 ~/.conky/configs/weather.sh "AFR|ZA|SF005|DURBAN"} ${color}≡${color1} [cpu ${cpubar 10,60} [ram ${membar 10,60} [swap ${color1}${swapbar 10,60} ${color}≡${color2} [ra0 ${downspeed ra0} ${downspeedgraph ra0 10,60 006600 00ff00 -l} ${color}≡${color3} [/ ${fs_bar 10,60 /} [/home ${fs_bar 10,60 /home} [/data ${fs_bar 10,60 /mnt/data} ${color}≡${alignr}${color4} [${top name 1} ${top cpu 1}%][${top name 2} ${top cpu 2}%]
#
# [uplink ${upspeed ra0} ${upspeedgraph ra0 10,60 006600 00ff00} ${color}≡${color3} 
# 
# [second line] # # # # # # # # # # # # #
${color7}TODO: ${exec cat todo | head -n2 | sed 'N;s/\n/ /;'}  ${alignc}${color5} ${exec cat .conky-im | tail -2 | sed 'N;s/\n/ \| /;s/\t/\ /g;'} ${alignr} ${color8} ${if_running mpd} ♫ ${exec ncmpcpp --now-playing "{{%t by %a}|{%f}}"}${endif}
#
#
#
# [notes]
# # # # # # # # # # # # # #
#
# now playing codes:
#  * moc = ${color8}${if_running mocp}${exec mocp -Q %title}${endif}
#
#  * deadbeef = ${color8}${if_running deadbeef-main}${exec deadbeef --nowplaying '%t, by %a'}${endif}
#
#  * mpd via ncmpcpp = ncmpcpp --now-playing "%t by %a"

Offline

#2556 2011-08-09 13:48:42

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: My Conky Config

Offline

#2557 2011-08-09 16:00:54

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: My Conky Config

.org/v

Offline

#2558 2011-08-09 16:49:07

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: My Conky Config

I gotta say ... regarding the rant  big_smile

I'm like Tom Clancy: I know I'm paranoid, but am I paranoid enough!  lol

And I use Google, they track me, I don't care, but I'd still like to keep my stuff mine as much as possible.  smile

Offline

#2559 2011-08-11 11:01:40

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: My Conky Config

######################
# - Conky settings - #
######################
background yes
update_interval 1
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
text_buffer_size 10240
#imlib_cache_size 0
 
#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 290 730
maximum_width 300
 
alignment tr
gap_x 10
gap_y 5
 
#########################
# - Graphics settings - #
#########################
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Santana:size=9:style=bold
xftalpha 0.8
 
uppercase no
 
default_color FFFFFF

temperature_unit fahrenheit
if_up_strictness address


####
## Load Lua for bargraphs (required)
## Set the path to your script here.
#
lua_load ~/.conky/new/bg.lua

TEXT
${lua conky_draw_bg 20 0 0 290 725 0x000000 0.4}
#
# System info
#
${image ~/.conky/images/tux_graduate.png -p 5,5 -s 48x48}
${voffset -30}${goto 60} ${nodename}
${goto 60} ${sysname} ${kernel} on ${machine}
${goto 60} Uptime:  ${uptime}
${goto 60} ${execpi 300 lsb_release -d | cut -c 14-50}
#
# Time
#
${voffset -15}${goto 60}${font FFF Tusj:size=60}${time %H:}${font}
${voffset -65}${goto 200}${font FFF Tusj:size=25}${color DFEC88}${time %S}${font}${color}
${voffset -10}${goto 140}${font FFF Tusj:size=60}${time %M}${font}
#
# Processor info
#
${image ~/.conky/images/processor.png -p 5,200 -s 48x48}
${goto 60}${freq}MHz   Load: ${color 88ECE0}${loadavg}${color}
${goto 60}Core 1 Usage: ${color DFEC88}${cpu cpu1}% ${color} ${alignr 5}${cpubar cpu1 6,115}
${goto 60}Core 2 Usage: ${color DFEC88}${cpu cpu2}% ${color} ${alignr 5}${cpubar cpu2 6,115}
${goto 60}Core 3 Usage: ${color DFEC88}${cpu cpu3}% ${color} ${alignr 5}${cpubar cpu3 6,115}
${goto 60}Core 4 Usage: ${color DFEC88}${cpu cpu4}% ${color} ${alignr 5}${cpubar cpu4 6,115}
${goto 60}CPU Temp: ${color 88ECE0}${acpitemp}° F${color}
#
# Memory info
#
${image ~/.conky/images/memory.png -p 5,262 -s 48x48}
${voffset -10}${goto 60}RAM:   ${memperc}% ${alignr 5}${membar 6,155} 
${goto 60}Swap:  ${swapperc}%   ${alignr 5}${swapbar 6,155} 
#
# Disk info
#
${image ~/.conky/images/hdd.png -p 5,320 -s 48x48}
${voffset -10}${goto 60}Root:   ${fs_size /} ${alignr 5}${fs_free /} free
${goto 60}Home:  ${fs_size /home} ${alignr 5}${fs_free /home} free
${goto 60}${if_existing /media/Linux}Linux:  ${fs_size /media/Linux} ${alignr 5}${fs_free /media/Linux} free${else}Linux:  Not Mounted${endif}
${goto 60}${if_existing /media/Stuff}Stuff:  ${fs_size /media/Stuff} ${alignr 5}${fs_free /media/Stuff} free${else}Stuff:   Not mounted${endif}
${goto 60}Disk temp: ${color 88ECE0}${execpi 300 hddtemp -u f /dev/sda | cut -c 35-40}${color}
#
# Network info
#
${if_up eth1}${image ~/.conky/images/wireless.png -p 5,405 -s 48x48}
${voffset -10}${goto 60}${font size=12}Wireless${font}
${goto 60}Internal IP: ${addr eth1}
${goto 60}External IP: ${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 60}${downspeedgraph eth1 25,112 110000 520000 -t} ${upspeedgraph eth1 25,112 001100 005200 -t}
${voffset -40}${font size=12}${goto 85}${downspeed eth1}${goto 200}${upspeed eth1}${font}
${goto 60}Down${goto 125}${totaldown eth1}${goto 178}UP ${alignr 5}${totalup eth1}
#
# Weather info
#
${execpi 1800 conkyForecast -i --template=~/.conky/new/conkyForecast.template}
#
# If you're on ethernet
#
${else}${if_up eth0}${image ~/.conky/images/network-ethernet-connected.png -p 5,405 -s 48x48}
${voffset -10}${goto 60}${font size=12}Ethernet${font}
${goto 60}Internal IP: ${addr eth0}
${goto 60}External IP: ${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 60}${downspeedgraph eth0 25,112 110000 520000 -t} ${upspeedgraph eth0 25,112 001100 005200 -t}
${voffset -40}${font size=12}${goto 85}${downspeed eth0}${goto 200}${upspeed eth0}${font}
${goto 60}Down${goto 125}${totaldown eth0}${goto 180}UP ${alignr 5}${totalup eth0}
#
# Weather info
#
${execpi 1800 conkyForecast -i --template=~/.conky/new/conkyForecast.template}
# This is if you have no network interace up
${else}${voffset 35}${image ~/.conky/images/network-error-2.png -p 5,405 -s 48x48}
${goto 60}${font size=12}No Network Connection${font}${endif}${endif}

Last edited by ackernan (2011-08-11 11:14:46)

Offline

#2560 2011-08-11 20:23:21

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: My Conky Config

#==============================================================================
#  MinHXR
#
#  Date    : 11/08/2011
#  author  : xeNULL
#  version : v0.1
#  license : Distributed under the terms of GNU GPL version 2 or later
#
#==============================================================================

background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius
short_units yes

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 0
gap_y 10

minimum_size 500 35
maximum_width 500
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tm

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

default_bar_size 115 30

override_utf8_locale no
use_xft yes
xftfont Terminus:size=7
xftalpha 1.0
uppercase no

default_color FFFFFF ## white
color1 999999 ## Medium Grey
color2 510000 ## Dark Red


TEXT
${color2}${font Humanoid:size=9}o${font}${color} cpu 1 ${goto 50}${cpubar cpu0 5,80}  ${color2}${font Humanoid:size=9}o${font}${color}  disk ${goto 200}${fs_bar 5,80 /}  ${color2}${font Humanoid:size=9}o${font}${color}  ip ${goto 350}${addr wlan0}  ${offset 7}${color2}${font Humanoid:size=9}o${font}${color}
${color2}${font Humanoid:size=9}o${font}${color} cpu 2 ${goto 50}${cpubar cpu1 5,80}  ${color2}${font Humanoid:size=9}o${font}${color}  home ${goto 200}${fs_bar 5,80 /home/xn}  ${color2}${font Humanoid:size=9}o${font}${color}  up ${goto 350}${upspeedgraph wlan0 5,80}  ${color2}${font Humanoid:size=9}o${font}${color}
${color2}${font Humanoid:size=9}o${font}${color} mem ${goto 50}${membar 5,80}  ${color2}${font Humanoid:size=9}o${font}${color}  ehd  ${goto 200}${fs_bar 5,80 /media/XEHD}  ${color2}${font Humanoid:size=9}o${font}${color}  down ${goto 350}${upspeedgraph wlan0 5,80}  ${color2}${font Humanoid:size=9}o${font}${color}
${color2}${font Humanoid:size=9}o${font}${color} vol ${goto 50}${mixerbar 'PCM' 5,80}  ${color2}${font Humanoid:size=9}o${font}${color}  r/w  ${goto 200}${diskiograph 5,80}  ${color2}${font Humanoid:size=9}o${font}${color}  qual ${goto 350}${wireless_link_bar 5,80 wlan0}  ${color2}${font Humanoid:size=9}o${font}${color}

${if_running mocp}${alignc}${font sans:size=8}${exec mocp -Q %song}  ${color2}${font Humanoid:size=9}o${font}${color} ${exec mocp -Q %artist} ${color2}${font Humanoid:size=9}o${font}${color} ${exec mocp -Q %album}${font}${else}${endif}

Offline

#2561 2011-08-11 20:51:58

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: My Conky Config

Offline

#2562 2011-08-11 20:54:47

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: My Conky Config

Offline

#2563 2011-08-11 22:16:00

wlourf
#! CrunchBanger
Registered: 2010-02-13
Posts: 153
Website

Re: My Conky Config

killall conky
conky -c /path/to/your/conkyrc

Offline

#2564 2011-08-11 22:40:22

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: My Conky Config

Offline

#2565 2011-08-12 11:35:22

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: My Conky Config

Please now post your conky configs in the monthly conky threads smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo