You are not logged in.

#1126 2014-02-02 01:28:46

JeSuisNerd
Member
From: /home/egon
Registered: 2012-03-06
Posts: 30

Re: conky configs and screenshots!

Here's my current conky setup, designed to complement the awesome WM bar across the top.  Right now the network monitor only monitors my ethernet interface because my laptop is plugged in 95% of the time and it hasn't been worth my effort to make it switch to the active interface.

With Clementine playing:
qQCcxEb.png

Without Clementine playing:
kmeOGZS.png


.conkyrc:  https://gist.github.com/EgonSpengler/8761653
~/scripts/conky_rings.lua: https://gist.github.com/EgonSpengler/8761661

Fonts used: Fiery Turk, Terminus
Requires conkyclementine-bzr from the AUR.

---
Edited because apparently my 20% scaled screenshots are too big, even though just one page previous has two larger screenshots, one of which is full size.

Last edited by JeSuisNerd (2014-02-02 23:13:57)

Offline

#1127 2014-02-06 23:10:59

kageurufu
Member
Registered: 2013-04-01
Posts: 17

Re: conky configs and screenshots!

Thats pretty nice, I just went with a simpler layout, heavily tweaked the base to fit my needs

http://pastebin.com/vBuHhkhb

http://i.imgur.com/u2r69Sy.png

Those green bars change color based on cpu core load, green -> yellow -> orange -> red, and the top bar is battery, and does the same

Offline

#1128 2014-02-08 15:43:55

alexbel
Member
Registered: 2014-02-08
Posts: 3

Re: conky configs and screenshots!

I've borrowed colors and font from some conky config I don't remember. And made my theme.
sCx.png

full size link
config

Edit: updated screenshot

Last edited by alexbel (2016-04-06 13:37:40)

Offline

#1129 2014-02-13 12:41:04

Ferdinand866
Member
Registered: 2013-05-24
Posts: 12

Re: conky configs and screenshots!

Based on conky_grey theme but crazys meters like gas or temp on your car.

http://www.pastebin.com/dCPs2WSV
http://www.pastebin.com/MdUnVGar

http://imgur.com/h1QOeXu

Last edited by Ferdinand866 (2014-02-13 12:42:19)


I have a hamradio license and know over Sail Boats too. My natural languaje is spanish.

Offline

#1130 2014-02-13 17:14:14

bladesuk1
Member
Registered: 2011-02-01
Posts: 10

Re: conky configs and screenshots!

JeSuisNerd wrote:

With Clementine playing:

any chance you could post up your clementine template as well?  i can't for the life of me work out how to get the album art image to display hmm

Offline

#1131 2014-02-13 18:26:26

Kolibry
Member
Registered: 2012-12-20
Posts: 110

Re: conky configs and screenshots!

Hey ! smile

Here is my conky, I'm pretty satisfied with it, even I have two little issues : the sound displays right but I get an extra value in a second line hmm (right speaker I think) and a white square at the end...

If someone knows how I cant get rid of these issues, I will be more than grateful smile

1392315958.png

conkyrc

# Panel conky
######################
# - Conky settings - #
######################
background yes
update_interval 2
update_interval_on_battery = 3
cpu_avg_samples 1
total_run_times 0
override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 10240
imlib_cache_size 10240

# For screen size 1366x768
minimum_size 1600 15
maximum_width 1600

gap_x 0
gap_y 0
alignment tr
#####################
# - Text settings - #
#####################
use_xft yes
xftfont ubuntu:size=10
xftalpha 1

short_units yes
uppercase no


######################
# - Color settings - #
######################

color1 a0a0a0 #separator
color2 1AAA13 # cpu
color3 00CABA #ram
color4 FF6B6B #temp
color5 FFAA3E #disk
color6 ff005b #zik

default_color ffffff # Text

#############################
# - Window specifications - #
#############################
own_window yes
own_window_colour 0a0b09
own_window_argb_visual yes
own_window_transparent no
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

#########################
# - Graphics settings - #
#########################
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
draw_graph_borders no


 TEXT
${color1} | ${color2}CPU ${color}${cpu cpu0}%${color1} | ${color3}RAM ${color}${mem}${color1} | ${color4}TEMP ${color}${platform coretemp.0 temp 2}°${color1} | ${color5}SSD ${color}${fs_free }${color1} | ${color4} MAJ ${color}${execi 300 pacman -Qu | wc -l}${color1} | ${color #ff3030} ZIK ${color} ${if_mpd_playing}${mpd_smart 50} ${mpd_elapsed}/${mpd_length}${else}${mpd_status}${endif}${color1} | ${color #ff3d3d} BAT ${color} ${execi 30 acpi -b | awk '{print$5}'} ${color1} | ${color #FFAA3E} MAIL ${color} ${execpi 300 ~/Scripts/imap.pl} ${color} - ${color} ${execpi 300 ~/Scripts/imap2.pl} ${color1} | ${color2}${time %H %M} ${color1} | ${color3} VOL ${color} ${exec amixer get Master -M | grep -oE "[[:digit:]]*%"}

Asus 1225B - 11,6" -  AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go -  Radeon HD6290
ArchLinux Openbox - My Github

Offline

#1132 2014-02-13 21:01:55

bendersteed
Member
From: Greece
Registered: 2010-10-18
Posts: 85

Re: conky configs and screenshots!

Kolibry wrote:

Hey ! smile

Here is my conky, I'm pretty satisfied with it, even I have two little issues : the sound displays right but I get an extra value in a second line hmm (right speaker I think) and a white square at the end...

If someone knows how I cant get rid of these issues, I will be more than grateful smile

Try this, maybe:

amixer get Master | awk 'END{gsub(/\[|\]|%/,""); print $4}'

Petite veille d'ivresse, sainte ! quand ce ne serait que pour le masque dont tu as gratifié. Nous t'affirmons, méthode ! Nous n'oublions pas que tu as glorifié hier chacun de nos âges. Nous avons foi au poison. Nous savons donner notre vie tout entière tous les jours.

Voici le temps des Assassins.

Offline

#1133 2014-02-13 21:32:12

Kolibry
Member
Registered: 2012-12-20
Posts: 110

Re: conky configs and screenshots!

It gives me something (all other commands I tried from my hours of searching over the internet didn't output anything) but it says something weird : VOL 52429.

I guess I need to find a way to translate this value into % ?


Asus 1225B - 11,6" -  AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go -  Radeon HD6290
ArchLinux Openbox - My Github

Offline

#1134 2014-02-13 21:45:54

bendersteed
Member
From: Greece
Registered: 2010-10-18
Posts: 85

Re: conky configs and screenshots!

If you run this in a terminal what output do you get?


Petite veille d'ivresse, sainte ! quand ce ne serait que pour le masque dont tu as gratifié. Nous t'affirmons, méthode ! Nous n'oublions pas que tu as glorifié hier chacun de nos âges. Nous avons foi au poison. Nous savons donner notre vie tout entière tous les jours.

Voici le temps des Assassins.

Offline

#1135 2014-02-13 22:38:00

Kolibry
Member
Registered: 2012-12-20
Posts: 110

Re: conky configs and screenshots!

Exactly the same.

Edit : Problem finally solved, I adjusted the command so it looks like this :

amixer get Master | awk 'END{gsub(/\[|\]|*%/,""); print $5}'}

Many thanks for your help ! smile

Last edited by Kolibry (2014-02-14 06:54:35)


Asus 1225B - 11,6" -  AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go -  Radeon HD6290
ArchLinux Openbox - My Github

Offline

#1136 2014-02-25 12:31:04

gaweph
Member
From: Swansea
Registered: 2014-02-09
Posts: 7
Website

Re: conky configs and screenshots!

Message received to share my conky config for a desktop I posted last week:

Gaweph Arch Screenshot

You will need the following:

https://aur.archlinux.org/packages/conky-colors/
https://aur.archlinux.org/packages/conky-nvidia/
https://www.archlinux.org/packages/?name=lm_sensors

######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=8
override_utf8_locale yes
text_buffer_size 2048

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

alignment top_right
gap_x 25
gap_y 40
minimum_size 182 0
maximum_width 182

default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades no

default_color cccccc

color0 white
color1 E07A1F
color2 white


TEXT
SYSTEM ${hr 2}
${goto 6}${voffset 6}${font conkycolorslogos:size=32}a${font}${goto 55}${voffset -25}$machine
${goto 55}Kernel: ${kernel} 

${hr 2}

CPU Freq ${hr 2}
${goto 6}${voffset 4}${font conkycolors:size=16}E${font}${voffset -4}${goto 32}Frequency: ${alignr}${freq_g (1)} GHz


#CPU Usage ${hr 2}
#${goto 6}${font conkycolors:size=16}A${font}${voffset -4}${goto 32}CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
#${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60} 
#${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
#${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU3: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
#${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU4: ${cpu cpu4}% ${alignr}${cpubar cpu4 8,60}
#${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU5: ${cpu cpu5}% ${alignr}${cpubar cpu5 8,60}
#${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU6: ${cpu cpu6}% ${alignr}${cpubar cpu6 8,60}
#${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU7: ${cpu cpu7}% ${alignr}${cpubar cpu7 8,60}
#${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU8: ${cpu cpu8}% ${alignr}${cpubar cpu8 8,60}
CPU Usage ${hr 2}
${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU1: ${cpu cpu1}%${alignr}CPU2: ${cpu cpu2}%
${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU3: ${cpu cpu3}%${alignr}CPU4: ${cpu cpu4}%
${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU5: ${cpu cpu5}%${alignr}CPU6: ${cpu cpu6}%
${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}CPU7: ${cpu cpu7}%${alignr}CPU8: ${cpu cpu8}%

CPU Temperatures ${hr 2}
${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}Core0:${alignr}${color #FCAF3E}${execi 30 sensors | grep 'Core 0' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'} °C$color
${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}Core1:${alignr}${color #FCAF3E}${execi 30 sensors | grep 'Core 1' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'} °C$color
${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}Core2:${alignr}${color #FCAF3E}${execi 30 sensors | grep 'Core 2' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'} °C$color
${goto 6}${voffset 4}${font conkycolors:size=16}c${font}${voffset -4}${goto 32}Core3:${alignr}${color #FCAF3E}${execi 30 sensors | grep 'Core 3' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'} °C$color

Misc Info ${hr 2}
${goto 6}${voffset 4}${font conkycolors:size=16}d${font}${voffset -4}${goto 32}GPU Temp: ${alignr}${color #FCAF3E}${exec nvidia-settings -q GPUCoreTemp | grep Attribute | cut -d ' ' -f 6 | cut -c 1-2} °C$color
${goto 6}${voffset 4}${font conkycolors:size=16}g${font}${voffset -4}${goto 32}Memory: ${mem} ${alignr}${membar 8,60}
${goto 6}${voffset 4}${font conkycolors:size=16}i${font}${voffset -4}${goto 32}Disk: ${diskio}${alignr}${diskiograph 8,60 F57900 FCAF3E}
${goto 6}${voffset 4}${font conkycolors:size=16}i${font}${voffset -4}${goto 32}Swap: $swapperc% ${alignr}${swapbar 8,60}
${goto 6}${voffset 4}${font conkycolors:size=16}o${font}${voffset -4}${goto 32}Uptime: ${alignr}${uptime}
${goto 6}${voffset 4}${font conkycolors:size=16}C${font}${voffset -4}${goto 32}Processes: ${alignr}$processes ($running_processes running)
${goto 7.5}${voffset 4}${font Poky:size=15}a${font}${goto 32}${voffset -10}Highest: ${alignr 13}CPU${alignr}RAM
${goto 32}${voffset -5.5}${hr 1}
${voffset -1}${goto 32}${top name 1} ${goto 124}${top cpu 1}${alignr }${top mem 1}
${voffset -1}${goto 32}${top name 2} ${goto 124}${top cpu 2}${alignr }${top mem 2}
${voffset -1}${goto 32}${top name 3} ${goto 124}${top cpu 3}${alignr }${top mem 3}
${voffset -1}${goto 32}${top name 4} ${goto 124}${top cpu 4}${alignr }${top mem 4}

#Time & Date ${hr 2}
#${font Arial Black:size=26}${alignc}${time %H:%M}${font}
#${alignc}${time %A, %B %d, %Y}

HDD ${hr 2}
#${font conkycolors:size=15}i${font}${voffset -5}${goto 32}HDD temperature:${alignr}${color #FCAF3E}${exec hddtemp /dev/sda -n --unit=C} °C$color
${font conkycolors:size=16}i${font} ${voffset -5}File System
${voffset 4}${fs_free /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font conkycolors:size=16}i${font} ${voffset -5}Home
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
#${font conkycolors:size=16}i${font} ${voffset -5}Windows 7
#${voffset 4}${fs_free /media/windows7}/${fs_size /media/windows7} ${alignr}${fs_bar 8,60 /media/windows7}

Battery: ${alignr}${battery}
${battery_bar}

Network ${hr 2}
${if_up wlp4s0}
${font conkycolors:size=14}k${font}${goto 32}${voffset -8}SSID: ${wireless_essid wlp4s0}
${goto 32}Signal: ${wireless_link_qual wlp4s0}% ${alignr}${wireless_link_bar 8,60 wlp4s0}
${voffset 4}${font conkycolors:size=14}x${font}${goto 32}${voffset -6}Up: ${upspeed wlp4s0}${font} ${alignr}${upspeedgraph wlp4s0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup wlp4s0}
${voffset 4}${font conkycolors:size=14}u${font}${goto 32}${voffset -6}Down: ${downspeed wlp4s0}${font} ${alignr}${downspeedgraph wlp4s0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown wlp4s0}
${voffset 4}${font conkycolors:size=13}A${font}${goto 32}${voffset -8}Local IP: ${alignr}${addr wlp4s0}

# |--enp3s0f0
${else}${if_up enp3s0f0}
${voffset -13}${font conkycolors:size=14}x${font}${goto 32}${voffset -6}Up: ${upspeed enp3s0f0}${font} ${alignr}${upspeedgraph enp3s0f0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup enp3s0f0}
${voffset -2}${font conkycolors:size=14}u${font}${goto 32}${voffset -6}Down: ${downspeed enp3s0f0}${font} ${alignr}${downspeedgraph enp3s0f0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown enp3s0f0}
${voffset -2}${font conkycolors:size=13}A${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr enp3s0f0}

# |--PPP0
${endif}${else}${if_up ppp0}
${voffset -13}${font conkycolors Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed ppp0}${font} ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup ppp0}
${voffset -2}${font conkycolors Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed ppp0}${font} ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}

${goto 32}Total: ${totaldown ppp0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr ppp0}
${endif}${else}${voffset 4}${font PizzaDude Bullets:size=12}4${font}${goto 32}Network Unavailable${endif}${endif}
${hr 2}

wlp4s0 and enp3s0f0 are the network device IDS, so you will need to substitute your own.

If you would like to modify the icons then theres lots of them in the ttf:
https://github.com/helmuthdu/conky_colo … onkycolors


PLEASE NOTE:
I'm sure there's a better way of getting the CPU temps.  Please let me know if this is the case.
I'm not sure that the Ethernet if else statements are working correctly.


FURTHER READING:
Here's some lovelly looking conky-colors stuff:
http://helmuthdu.deviantart.com/art/CON … -244793180
And the conky Git pagee if you want to see the cource and who made it:
https://github.com/helmuthdu/conky_colors



Gaw

Last edited by gaweph (2020-05-17 10:37:43)

Offline

#1137 2014-02-25 13:46:16

Jojonintendo
Member
Registered: 2013-12-06
Posts: 56

Re: conky configs and screenshots!

Wow, thank you very much! I didn't ask for that much, but I really appreciate it. I'm going to try this as soon as I can. And thanks for the "further reading" links, there seems to be quite good information in there.


M/B: Asus M5A97 LE R2.0 CPU: AMD FX(tm)-6100 Six-Core Processor GPU: XFX R9 390 DD Black Edition RAM: Kingston HyperX Beast DDR3 1866 2X4GB SSD: Crucial M4 128GB SATA 3
CPU and GPU are watercooled by Ibercool kit.

Offline

#1138 2014-02-25 16:14:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: conky configs and screenshots!

Merging with the Conky Screenshots thread...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#1139 2014-02-25 16:51:41

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: conky configs and screenshots!

JeSuisNerd wrote:

Here's my current conky setup, designed to complement the awesome WM bar across the top.

The bar looks really cool!

Offline

#1140 2014-02-25 17:59:48

saultdon
Member
From: Treaty 08
Registered: 2013-06-25
Posts: 41

Re: conky configs and screenshots!

iAfoOO5.jpg

alignment top_left
background no
border_width 1
cpu_avg_samples 1
diskio_avg_samples 1
net_avg_samples 1
default_color white
default_outline_color black
default_shade_color white
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=9
gap_x 5
gap_y 5
double_buffer yes
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type normal
own_window_argb_visual true
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 0.5
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${image /home/saultdon/Pictures/archlinux-outline-white.png -s 281x85}





${font serif:bold:size=9}${color red}SYSTEM (${USER}@$nodename) ${color FF9900}${hr 2}
$font$color$sysname $kernel $alignr $machine
Uptime: $alignr $uptime

${font serif:bold:size=9}${color red}MEMORY ${color FF9900}${hr 2}
$color${font}RAM Usage:$alignr ${color 00b7ff}$mem$color/$memmax
${memgraph 000000 00b7ff -l}
$color$memperc% ${membar 4}

${font serif:bold:size=9}${color red}CPU ${freq_g 0} ${color FF9900}${hr 2}
${cpugraph ffff00 ff0000 -t}
$font$color${cpu}%${color pink} ${hwmon 1 temp 1}°C $color${cpubar 4}

${font serif:bold:size=9}${color red}GPU ${nvidia gpufreq}/${nvidia memfreq} ${color FF9900}${hr 2}
$font${color pink}${nvidia temp}°C $color(Max: ${nvidia threshold}°C)

${font serif:bold:size=9}${color red}DISK ${color FF9900}${hr 2}
${if_mounted /mnt/ntfs}${font serif:bold:size=8}${color EDC85A}/dev/sda ${hddtemp /dev/sda}°C ${hr 1}
$font$color /mnt/ntfs${tab 30}${fs_used_perc /mnt/ntfs}% ${tab 20}${fs_used /mnt/ntfs}/${fs_size /mnt/ntfs} ${tab}${fs_bar 6 /mnt/ntfs}
${font serif:bold:size=8}${color EDC85A}${alignr}${diskio_read /dev/sda} / ${diskio_write /dev/sda}${endif}
${font serif:bold:size=8}${color EDC85A}/dev/sdb ${hddtemp /dev/sdb}°C ${hr 1}
$font$color /${tab 30}${fs_used_perc /}% ${tab 20}$color${fs_used /}/${fs_size /} ${tab}${fs_bar 6 /}
 /boot${tab 30}${fs_used_perc /boot}% ${tab 20}$color${fs_used /boot}/${fs_size /boot} ${tab}${fs_bar 6 /boot}
 /home${tab 30}${fs_used_perc /home}% ${tab 20}$color${fs_used /home}/${fs_size /home} ${tab}${fs_bar 6 /home}
${font serif:bold:size=8}${color EDC85A}${alignr}${diskio_read /dev/sdb} / ${diskio_write /dev/sdb}
${if_mounted /mnt/archnas}${font serif:bold:size=8}${color EDC85A}archnas:/nas ${hr 1}
$font$color /mnt/archnas${tab}${fs_used_perc /mnt/archnas}% ${tab}${fs_used /mnt/archnas}/${fs_size /mnt/archnas} ${tab}${fs_bar 6 /mnt/archnas}${endif}

${font serif:bold:size=9}${color red}NETWORK (${tcp_portmon 1 65535 count}) ${color FF9900}${hr 2}
${if_up enp4s0}${font serif:bold:size=8}${color EDC85A}Down:${tab 20}${totaldown enp4s0}$alignr${downspeed enp4s0}/s
${downspeedgraph enp4s0 FF6600 00FF00 -t}
Up:${tab 20}${totalup enp4s0}$alignr${upspeed enp4s0}/s
${upspeedgraph enp4s0 0000CC FF0000 -t}${endif}
${if_up wlp3s0}${font serif:bold:size=8}${color EDC85A}Down:${tab 20}${totaldown wlp3s0}$alignr${downspeed wlp3s0}/s
${downspeedgraph wlp3s0 33FF33 FFFF00 -t}
Up:${tab 20}${totalup wlp3s0}$alignr${upspeed wlp3s0}/s
${upspeedgraph wlp3s0 FF0000 FFFF00 -t}${endif}

${font serif:bold:size=9}${color red}PROCESSES ($running_processes/$processes) ${color FF9900}${hr 2}
${font serif:bold:size=8}${color EDC85A}${tab 140}PID     CPU%   MEM%
$font${color yellow} ${top name 1} ${color green}${top pid 1} ${color red}${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
 ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

Uses conky-nvidia for the GPU portion, projectM in bottom right with jack_oscrolloscope in bottom left.

Arch logo is a png converted from the svg's in the "/usr/share/archlinux/logos" folder.

The DISK and NETWORK portions are set to only display partitions that are actually mounted (ie, if not mounted, they aren't shown) - same for the networks for wireless and wired interfaces (only shown if they are actually up).

Last edited by saultdon (2014-02-26 01:21:26)


"We don't inherit the land from our ancestors - we borrow it from our children."

Offline

#1141 2014-02-28 02:56:20

magyar
Member
Registered: 2014-02-28
Posts: 7

Re: conky configs and screenshots!

Brand new to Arch and Conky.  Messed around with this for a few hours the other day:

gFcd7om.png?1

alignment top_right
background yes
border_width 1
cpu_avg_samples 2
default_color 88BBFF
color0 0077FF
default_outline_color 0077FF
default_shade_color 0077FF
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 15
gap_y 15 
maximum_width 210
max_port_monitor_connections 64
max_specials 512
max_user_text 16384
minimum_size 330 10
net_avg_samples 2
no_buffers yes
out_to_console no
wm_class_name Conky
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
own_window yes
stippled_borders 2
update_interval 2
uppercase no
use_spacer yes
use_xft yes
xftalpha 0.8
xftfont  Bitstream Vera Sans Mono:size=9

TEXT
${color0}$sysname $kernel ${alignr}$color${time %k:%M:%S}
${machine} @ $freq(MHz)

${color0}Core1:$color ${cpu cpu1}%$alignr${exec sensors | grep 'Core 0' | cut -c16-22 | sed '/^$/d'}
${color0}${cpugraph cpu1 32,210 0077FF 0077ff}
${color0}Core2:$color ${cpu cpu2}%$alignr${exec sensors | grep 'Core 1' | cut -c16-22 | sed '/^$/d'}
${color0}${cpugraph cpu2 32,210 0077FF 0077ff}

${color0}DDR2: $color$memperc%$alignr$mem${color0}/${color}$memmax
${color0}$membar

${color0}Down: $color${downspeed enp0s25}$alignr${totaldown enp0s25}
${color0}${downspeedgraph enp0s25 32,210 0077ff 0077ff}
${color0}Up:   $color${upspeed enp0s25}$alignr${totalup enp0s25}
${color0}${upspeedgraph enp0s25 32,210 0077FF 0077ff}

${color0}/$alignr$color${fs_used /}${color0}/$color${fs_size /}
${color0}${fs_bar 5,210 /}
${color0}/home$alignr$color${fs_used /home}${color0}/$color${fs_size /home}
${color0}${fs_bar 5,210 /home}
${color0}Read: $color${diskio_read}$alignr${color0}Write: $color${diskio_write}
${color0}${diskiograph /dev/sda 32,210 0077FF 0077ff}

${color0}Top:${alignr}CPU%
$color${top name 1}$alignr${top cpu 1}
$color${top name 2}$alignr${top cpu 2}
$color${top name 3}$alignr${top cpu 3}
$color${top name 4}$alignr${top cpu 4}
$color${top name 5}$alignr${top cpu 5}
${color0}${alignr}MEM
$color${top_mem name 1}$alignr${top_mem mem_res 1}
$color${top_mem name 2}$alignr${top_mem mem_res 2}
$color${top_mem name 3}$alignr${top_mem mem_res 3}
$color${top_mem name 4}$alignr${top_mem mem_res 4}
$color${top_mem name 5}$alignr${top_mem mem_res 5}

Offline

#1142 2014-03-02 09:51:07

jord
Member
Registered: 2013-12-12
Posts: 13

Re: conky configs and screenshots!

Thought I'd up my Conky config.

Conky:
2014-03-02-174027336x830scrot.th.png

Conky and the desktop:
2014-03-02-1740364480x1200scrot.th.png

I've had this config since forever, tweaking and updating it every now and then. There are bits and pieces borrowed out of this thread and many other threads and blog posts and such, too many to credit each and every one. I am trying to take my config as far as I can before I use lua to do something a little more magical but I think im getting pretty close to that point now. Oh, the icons are from the Fat Cow Hosting set & wallpaper is from DeviantArt. The odd CPU core numbering is deliberate due to this being a dual socket system.

# Conky settings #
background no				# Run Conky in the background
update_interval 4			# Update conky every $n seconds
double_buffer no			# Reduces flickering, depends on compositing
no_buffers yes				# Subtract (file system) buffers from used memory
imlib_cache_size 100		# Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value if you use $image lots. Set to 0 to disable the image cache

# Window specifications #
gap_x 970					# Distance from the left edge of the display to draw conky output
gap_y 40
minimum_size 1 1			# width height
own_window yes
own_window_type dock  		# other options are - override/normal/desktop/panel
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0

# Graphics settings #
draw_shades no
default_shade_color ffffff
draw_outline no
default_outline_color ffffff
draw_borders no
draw_graph_borders yes
show_graph_scale no
show_graph_range no
use_spacer right

# Text settings #
use_xft yes
xftalpha 0
xftfont Clean-8
text_buffer_size 256
override_utf8_locale yes

# Useful shortenings #
short_units yes
format_human_readable yes
pad_percents 0
top_name_width 7

# Color scheme #
default_color ffffff	# white
color1 5c9ab0			# dark green
color2 a52a2a			# red
color3 97bcd0			# light green
color4 3d3c3a			# background
color5 292725			# dark gray

# Output to... #
out_to_x yes
out_to_ncurses no
out_to_console no

# DEFAULTS #
default_bar_size 100 8
default_graph_size 100 8

# LUA #
# lua_load /home/j0rd/.config/conky/1.lua
# lua_draw_hook_pre conky_main

TEXT
# SYSTEM GENERAL #
${image ~/.config/conky/images/kernel.png -p 1,1 -s 16x16}${voffset 4}${goto 30}Kernel${goto 100}$kernel
${image ~/.config/conky/images/platform.png -p 1,20-s 16x16}${voffset 7}${goto 30}Platform${goto 100}$machine
${image ~/.config/conky/images/uptime.png -p 1,40 -s 16x16}${voffset 7}${goto 30}Uptime${goto 100}$uptime
${image ~/.config/conky/images/packages.png -p 1,60 -s 16x16}${voffset 7}${goto 30}Packages${goto 100}${if_match ${execi 90 pacman -Qu | wc -l} == 0}Updated${else}Outdated${endif}
${image ~/.config/conky/images/username.png -p 1,80 -s 16x16}${voffset 8}${goto 30}Username${goto 100}${exec whoami}
# SYSTEM LOAD #
${image ~/.config/conky/images/clock.png -p 1,110 -s 16x16}${voffset 18}${goto 30}Clock ${goto 100}${freq_g cpu0}Ghz
${image ~/.config/conky/images/load.png -p 1,130 -s 16x16}${voffset 8}${goto 30}Load${goto 100}$loadavg
${image ~/.config/conky/images/processes.png -p 1,150 -s 16x16}${voffset 8}${goto 30}Processes${goto 100}${running_threads}${goto 150}${color5}${loadgraph 8,100 97BCD0 97BCD0 -lt}${color}
# CPU CORE TEMPERATURES & LOAD #
${image ~/.config/conky/images/processor.png -p 1,180 -s 16x16}${voffset 18}${goto 30}Core 0${goto 100}${platform coretemp.0 temp 2}°C${goto 150}${color2}${execibar 90 value=$(sensors | grep "Core 0" | head -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu1 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${cpu cpu1}%
${image ~/.config/conky/images/processor.png -p 1,200 -s 16x16}${voffset 8}${goto 30}Core 1${goto 100}${platform coretemp.0 temp 3}°C${goto 150}${color2}${execibar 90 value=$(sensors | grep "Core 1" | head -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu2 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${cpu cpu2}%
${image ~/.config/conky/images/processor.png -p 1,220 -s 16x16}${voffset 8}${goto 30}Core 2${goto 100}${platform coretemp.0 temp 4}°C${goto 150}${color2}${execibar 90 value=$(sensors | grep "Core 2" | head -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu3 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${cpu cpu3}%
${image ~/.config/conky/images/processor.png -p 1,240 -s 16x16}${voffset 8}${goto 30}Core 3${goto 100}${platform coretemp.0 temp 5}°C${goto 150}${color2}${execibar 90 value=$(sensors | grep "Core 3" | head -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu4 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${cpu cpu4}%
${image ~/.config/conky/images/processor.png -p 1,260 -s 16x16}${voffset 8}${goto 30}Core 0${goto 100}${platform coretemp.1 temp 2}°C${goto 150}${color2}${execibar 90 value=$(sensors | grep "Core 0" | tail -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu5 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${cpu cpu5}%
${image ~/.config/conky/images/processor.png -p 1,280 -s 16x16}${voffset 8}${goto 30}Core 1${goto 100}${platform coretemp.1 temp 3}°C${goto 150}${color2}${execibar 90 value=$(sensors | grep "Core 1" | tail -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu6 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${cpu cpu6}%
${image ~/.config/conky/images/processor.png -p 1,300 -s 16x16}${voffset 8}${goto 30}Core 2${goto 100}${platform coretemp.1 temp 4}°C${goto 150}${color2}${execibar 90 value=$(sensors | grep "Core 2" | tail -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu7 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${cpu cpu7}%
${image ~/.config/conky/images/processor.png -p 1,320 -s 16x16}${voffset 8}${goto 30}Core 3${goto 100}${platform coretemp.1 temp 5}°C${goto 150}${color2}${execibar 90 value=$(sensors | grep "Core 3" | tail -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu8 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${cpu cpu8}%
# DISK TEMPERATURES, DISK I/O & FILE SYSTEM USAGE#
${image ~/.config/conky/images/drive.png -p 1,350 -s 16x16}${voffset 18}${goto 30}/dev/sda${goto 100}${hddtemp /dev/sda}°C${goto 150}${color2}${execibar 90 value=$(hddtemp /dev/sda | cut -c34-35); bc <<< "scale=1; $value / 60 * 100"}${color}${offset -100}${color5}${diskiograph sda 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${diskio sda}
${image ~/.config/conky/images/drive.png -p 1,370 -s 16x16}${voffset 8}${goto 30}/dev/sdb${goto 100}${hddtemp /dev/sdb}°C${goto 150}${color2}${execibar 90 value=$(hddtemp /dev/sdb | cut -c34-35); bc <<< "scale=1; $value / 60 * 100"}${color}${offset -100}${color5}${diskiograph sdb 8,100 97BCD0 97BCD0 -lt}${color}${goto 270}${diskio sdb}
${image ~/.config/conky/images/root.png -p 1,390 -s 16x16}${voffset 8}${goto 30}/${goto 100}${fs_used_perc /}%${goto 150}${color3}${fs_bar 8,100 /}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/home.png -p 1,410 -s 16x16}${voffset 8}${goto 30}/home${goto 100}${fs_used_perc /home}%${goto 150}${color3}${fs_bar 8,100 /home}${color}${offset -100}${color5}${execbar echo 0}${color}
${if_existing /home/j0rd/Dropbox}${image ~/.config/conky/images/dropbox.png -p 1,430 -s 16x16}${voffset 8}${goto 30}~/Dropbox${goto 100}${execi 120 LIM=3355443; SIZE=$(du -s ~/Dropbox | awk '{print $1}'); PERC=$(expr $SIZE \* 100 / $LIM); echo "$PERC"}%${goto 150}${color3}${execibar 120 LIM=3355443; SIZE=$(du -s ~/Dropbox | awk '{print $1}'); PERC=$(expr $SIZE \* 100 / $LIM); echo "$PERC"}${color}${offset -100}${color5}${execbar echo 0}${color}${endif}
# RAM USAGE & TEMPERATURES #
${image ~/.config/conky/images/ram.png -p 1,460 -s 16x16}${voffset 18}${goto 30}R.A.M${goto 100}${memperc}%${goto 150}${color3}${membar 8,100}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/swap.png -p 1,480 -s 16x16}${voffset 8}${goto 30}Swap${goto 100}${swapperc}%${goto 150}${color3}${swapbar 8,100}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/ram.png -p 1,500 -s 16x16}${voffset 8}${goto 30}Ch2 DIMM0${goto 100}${platform i5k_amb.0 temp 1}°C${goto 150}${color3}${execibar 90 value=$(sensors | grep "Ch. 2 DIMM 0" | cut -c 16-20); bc <<< "scale=3; $value / 127.5 * 100"}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/ram.png -p 1,520 -s 16x16}${voffset 8}${goto 30}Ch2 DIMM1${goto 100}${platform i5k_amb.0 temp 2}°C${goto 150}${color3}${execibar 90 value=$(sensors | grep "Ch. 2 DIMM 1" | cut -c 16-20); bc <<< "scale=3; $value / 127.5 * 100"}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/ram.png -p 1,540 -s 16x16}${voffset 8}${goto 30}Ch3 DIMM0${goto 100}${platform i5k_amb.0 temp 3}°C${goto 150}${color3}${execibar 90 value=$(sensors | grep "Ch. 3 DIMM 0" | cut -c 16-20); bc <<< "scale=3; $value / 127.5 * 100"}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/ram.png -p 1,560 -s 16x16}${voffset 8}${goto 30}Ch3 DIMM1${goto 100}${platform i5k_amb.0 temp 4}°C${goto 150}${color3}${execibar 90 value=$(sensors | grep "Ch. 3 DIMM 1" | cut -c 17-20); bc <<< "scale=3; $value / 127.5 * 100"}${color}${offset -100}${color5}${execbar echo 0}${color}
# MISC #
${image ~/.config/conky/images/entropy.png -p 1,590 -s 16x16}${voffset 18}${goto 30}Entropy${goto 100}${entropy_perc}%${goto 150}${color3}${entropy_bar 8,100}${color}${offset -100}${color5}${execbar echo 0}${color}
# NETWORK #
${image ~/.config/conky/images/down.png -p 1,620 -s 16x16}${voffset 18}${goto 30}Down${goto 100}${downspeedf enp4s0f0}${goto 150}${color5}${downspeedgraph enp4s0f0 8,100 97BCD0 97BCD0 -lt}${color}
${image ~/.config/conky/images/up.png -p 1,640 -s 16x16}${voffset 8}${goto 30}up${goto 100}${upspeedf enp4s0f0}${goto 150}${color5}${upspeedgraph enp4s0f0 8,100 97BCD0 97BCD0 -lt}${color}
${image ~/.config/conky/images/interface.png -p 1,660 -s 16x16}${voffset 8}${goto 30}Interface${goto 100}${gw_iface}
${image ~/.config/conky/images/ip.png -p 1,680 -s 16x16}${voffset 8}${goto 30}I.P${goto 100}${addr enp4s0f0}
${image ~/.config/conky/images/fqdn.png -p 1,700 -s 16x16}${voffset 8}${goto 30}F.Q.D.N${goto 100}$nodename
${image ~/.config/conky/images/gateway.png -p 1,720 -s 16x16}${voffset 8}${goto 30}Gateway${goto 100}$gw_ip
${image ~/.config/conky/images/dns.png -p 1,740 -s 16x16}${voffset 8}${goto 30}D.N.S${goto 100}${nameserver}
# TOP CPU #
#${goto 70}${color1}CPU${goto 133}PID${goto 175}CPU%${goto 220}MEM%${color}
#${goto 60}${top name 1}${goto 125}${top pid 1}${goto 163}${top cpu 1}${goto 207}${top mem 1}
#${goto 60}${top name 2}${goto 125}${top pid 2}${goto 163}${top cpu 2}${goto 207}${top mem 2}
#${goto 60}${top name 3}${goto 125}${top pid 3}${goto 163}${top cpu 3}${goto 207}${top mem 3}

# TOP RAM #
#${goto 70}${color1}RAM${goto 133}PID${goto 175}CPU%${goto 120}MEM%${color}
#${goto 60}${top_mem name 1}${goto 125}${top_mem pid 1}${goto 163}${top_mem cpu 1}${goto 207}${top_mem mem 1}
#${goto 60}${top_mem name 2}${goto 125}${top_mem pid 2}${goto 163}${top_mem cpu 2}${goto 207}${top_mem mem 2}
#${goto 60}${top_mem name 3}${goto 125}${top_mem pid 3}${goto 163}${top_mem cpu 3}${goto 207}${top_mem mem 3}

Last edited by jord (2014-03-02 09:54:12)


_

Offline

#1143 2014-04-08 14:29:41

anbc
Member
Registered: 2014-04-08
Posts: 3

Re: conky configs and screenshots!

.

Last edited by anbc (2014-04-15 04:02:11)

Offline

#1144 2014-04-08 15:52:23

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: conky configs and screenshots!

I had no idea there was a conky sharing thread! here's the one I use for i3:
conky: 2014-04-08-081924_1920x1080_conky.png
desktop (clean): 2014-04-08-081924_1920x1080_scrot.png

.tconk-config-i3: http://pastebin.com/vrnwQKYs
.tconk-scripts-timeCheckGmail.sh: http://pastebin.com/gH7EK6N7
.tconk-scripts-timeCheckFB.sh: http://pastebin.com/YYau4kMn
.tconk-scripts-timeCheckUpdates.sh: http://pastebin.com/4vmnyaW4
updateCount: http://pastebin.com/XAFiTP6g required for .tconk-scripts-timeCheckUpdates.sh - set to run in root's crontab, with permissions 755
.tconk-scripts-time.sh-i3: http://pastebin.com/3LDnz8cR
.tconk-scripts-mpd.sh: http://pastebin.com/FqDhTesj
.tconk-scripts-cpuGPU.sh: http://pastebin.com/pjzLK1Ke
.tconk-scripts-conkyDeluge: http://pastebin.com/UFBL8atv
.tconk-scripts-conkyDeluge.py: http://pastebin.com/3ZpXgXt5 (from the conkyDeluge thread http://ubuntuforums.org/showthread.php?t=946664)
.tconk-settings-deluge.summarytemplate-i3: http://pastebin.com/7Rge1HaA
.tconk-settings-deluge.template-i3: http://pastebin.com/SgnVs8a9
.tconk-settings-general: http://pastebin.com/fTYiH41e (used by most of my scripts)
.tconk-settings-accountInfo: http://pastebin.com/cFTwpv0d (used by my GMail script)

Offline

#1145 2014-04-10 09:26:01

jord
Member
Registered: 2013-12-12
Posts: 13

Re: conky configs and screenshots!

just small updates to my config. I put together some new icons, changed the font & line spacing, tightened up the whitespace between elements, made all temperature bars red, added the keyboard *lock status (borrowed from a post further up in this thread) & added some very basic network monitoring.

Conky (click for big):
2014-04-10-171714339x801scrot.th.png

Whole desktop (click for big):
2014-04-10-1717204480x1200scrot.th.png

conkyrc:

# Conky settings #
background 				no													# Run Conky in the background
update_interval 		5													# Update conky every $n seconds
double_buffer		 	no													# Reduces flickering, depends on compositing
no_buffers 				yes													# Subtract (file system) buffers from used memory
imlib_cache_size 		19968												# Imlib2 image cache size, in bytes. '0' disables image cache
text_buffer_size		4096

# Window specifications #
gap_x 					940													# Distance from the left edge of the display to draw conky output
gap_y 					40													# Distance from the top edge of the display to draw conky output
minimum_size 			1 1													# width height
own_window 				yes													# some window managers dont like if this is 'no'
own_window_type 		dock  												# other options are - override/normal/desktop/panel
own_window_transparent 	yes													# no background color
own_window_hints 		undecorate,sticky,skip_taskbar,skip_pager,below		# voodoo magik happening here
border_inner_margin 	0													# the margin between text and border in pixels
border_outer_margin 	0													# The margine between the border and the edge of the window in pixels

# Graphics settings #
draw_shades 			no
draw_outline 			no
draw_borders 			no
draw_graph_borders 		yes
show_graph_scale 		no
show_graph_range 		no
use_spacer 				right

# Text settings #
use_xft 				yes
xftalpha 				0
#xftfont                Clean:size=8
xftfont 				Minecraftia:size=6
text_buffer_size 		256
override_utf8_locale 	yes

# Useful shortenings #
short_units yes
format_human_readable	yes
pad_percents 			0
top_name_width 			7

# Color scheme #
default_color 			dedede		# very light gray
default_shade_color 	ffffff		# white
default_outline_color 	ffffff		# white
color1 					5c9ab0		# dark green
color2 					BF4040		# red
color3 					8BA3AF		# light green-gray
color4 					3d3c3a		# background-gray
color5 					292725		# dark gray

# Output to... #
out_to_x 				yes
out_to_ncurses 			no
out_to_console 			no

# DEFAULTS #
default_bar_size		100 8
default_graph_size 		100 8

TEXT
# SYSTEM GENERAL #
${image ~/.config/conky/images/kernel_1.png -p 18,1 -s 15x15}${voffset 02.5}${goto 40}Kernel${goto 120}$kernel
${image ~/.config/conky/images/platform_1.png -p 17,16 -s 15x15}${voffset 03.0}${goto 40}Platform${goto 120}$machine
${image ~/.config/conky/images/uptime_1.png -p 17,32 -s 15x15}${voffset 04.0}${goto 40}Uptime${goto 120}$uptime
${if_match ${execi 90 pacman -Qu | wc -l} > 0}${image ~/.config/conky/images/exclamation_1.png -p 1,48 -s 15x15}${endif}${image ~/.config/conky/images/packages_1.png -p 17,48 -s 15x15}${voffset 04.0}${goto 40}Packages${goto 120}${execi 90 pacman -Qu | wc -l}
${image ~/.config/conky/images/username_1.png -p 17,64 -s 15x15}${voffset 04.0}${goto 40}Username${goto 120}${exec whoami}
# SYSTEM LOAD #
${image ~/.config/conky/images/clock_1.png -p 17,88 -s 15x15}${voffset 12.0}${goto 40}Clock ${goto 120}${freq_g cpu0}Ghz
${image ~/.config/conky/images/load_1.png -p 17,104 -s 15x15}${voffset 04.0}${goto 40}Load${goto 120}$loadavg
${image ~/.config/conky/images/processes_1.png -p 17,120 -s 15x15}${voffset 04.0}${goto 40}Processes${goto 120}${running_threads}${goto 170}${color5}${loadgraph 8,100 8BA3AF 8BA3AF -lt}${color}
# CPU CORE TEMPERATURES & LOAD #
${image ~/.config/conky/images/processor_1.png -p 17,144 -s 15x15}${voffset 12.0}${goto 40}Core 0${goto 120}${platform coretemp.0 temp 2}°C${goto 170}${color2}${execbar value=$(sensors | grep "Core 0" | head -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu1 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${cpu cpu1}%
${image ~/.config/conky/images/processor_1.png -p 17,160 -s 15x15}${voffset 04.0}${goto 40}Core 1${goto 120}${platform coretemp.0 temp 3}°C${goto 170}${color2}${execbar value=$(sensors | grep "Core 1" | head -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu2 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${cpu cpu2}%
${image ~/.config/conky/images/processor_1.png -p 17,176 -s 15x15}${voffset 04.0}${goto 40}Core 2${goto 120}${platform coretemp.0 temp 4}°C${goto 170}${color2}${execbar value=$(sensors | grep "Core 2" | head -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu3 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${cpu cpu3}%
${image ~/.config/conky/images/processor_1.png -p 17,192 -s 15x15}${voffset 04.0}${goto 40}Core 3${goto 120}${platform coretemp.0 temp 5}°C${goto 170}${color2}${execbar value=$(sensors | grep "Core 3" | head -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu4 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${cpu cpu4}%
${image ~/.config/conky/images/processor_1.png -p 17,208 -s 15x15}${voffset 04.0}${goto 40}Core 0${goto 120}${platform coretemp.1 temp 2}°C${goto 170}${color2}${execbar value=$(sensors | grep "Core 0" | tail -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu5 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${cpu cpu5}%
${image ~/.config/conky/images/processor_1.png -p 17,224 -s 15x15}${voffset 04.0}${goto 40}Core 1${goto 120}${platform coretemp.1 temp 3}°C${goto 170}${color2}${execbar value=$(sensors | grep "Core 1" | tail -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu6 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${cpu cpu6}%
${image ~/.config/conky/images/processor_1.png -p 17,240 -s 15x15}${voffset 04.0}${goto 40}Core 2${goto 120}${platform coretemp.1 temp 4}°C${goto 170}${color2}${execbar value=$(sensors | grep "Core 2" | tail -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu7 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${cpu cpu7}%
${image ~/.config/conky/images/processor_1.png -p 17,256 -s 15x15}${voffset 04.0}${goto 40}Core 3${goto 120}${platform coretemp.1 temp 5}°C${goto 170}${color2}${execbar value=$(sensors | grep "Core 3" | tail -n 1 | cut -c 16-19); bc <<< "scale=3; $value / 85 * 100"}${color}${offset -100}${color5}${cpugraph cpu8 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${cpu cpu8}%
# DISK TEMPERATURES & I/O #
${image ~/.config/conky/images/drive_1.png -p 17,280 -s 15x15}${voffset 12.0}${goto 40}/dev/sda${goto 120}${hddtemp /dev/sda}°C${goto 170}${color2}${execbar value=$(hddtemp /dev/sda | cut -c34-35); bc <<< "scale=1; $value / 60 * 100"}${color}${offset -100}${color5}${diskiograph sda 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${diskio sda}
${image ~/.config/conky/images/drive_1.png -p 17,296 -s 15x15}${voffset 04.0}${goto 40}/dev/sdb${goto 120}${hddtemp /dev/sdb}°C${goto 170}${color2}${execbar value=$(hddtemp /dev/sdb | cut -c34-35); bc <<< "scale=1; $value / 60 * 100"}${color}${offset -100}${color5}${diskiograph sdb 8,100 8BA3AF 8BA3AF -lt}${color}${goto 290}${diskio sdb}
# FILE SYSTEM USAGE #
${image ~/.config/conky/images/root_1.png -p 17,320 -s 15x15}${voffset 12.0}${goto 40}/${goto 120}${fs_used_perc /}%${goto 170}${color3}${fs_bar 8,100 /}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/home_1.png -p 17,336 -s 15x15}${voffset 04.0}${goto 40}/home${goto 120}${fs_used_perc /home}%${goto 170}${color3}${fs_bar 8,100 /home}${color}${offset -100}${color5}${execbar echo 0}${color}
${if_existing /home/j0rd/Dropbox}${image ~/.config/conky/images/dropbox_1.png -p 17,352 -s 15x15}${voffset 04.0}${goto 40}~/Dropbox${goto 120}${exec LIM=3355443; SIZE=$(du -s ~/Dropbox | awk '{print $1}'); PERC=$(expr $SIZE \* 100 / $LIM); echo "$PERC"}%${goto 170}${color3}${execbar LIM=3355443; SIZE=$(du -s ~/Dropbox | awk '{print $1}'); PERC=$(expr $SIZE \* 100 / $LIM); echo "$PERC"}${color}${offset -100}${color5}${execbar echo 0}${color}${else}${image ~/.config/conky/images/exclamation_1.png -p 1,352 -s 15x15}${image ~/.config/conky/images/dropbox_1.png -p 17,352 -s 15x15}${voffset 04.0}${goto 40}~/Dropbox${goto 120}Not mounted${endif}
# RAM USAGE & TEMPERATURES #
${image ~/.config/conky/images/ram_1.png -p 17,376 -s 15x15}${voffset 12.0}${goto 40}RAM${goto 120}${memperc}%${goto 170}${color3}${membar 8,100}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/swap_1.png -p 17,392 -s 15x15}${voffset 04.0}${goto 40}Swap${goto 120}${swapperc}%${goto 170}${color3}${swapbar 8,100}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/ram_1.png -p 17,408 -s 15x15}${voffset 04.0}${goto 40}Ch2 DIMM0${goto 120}${platform i5k_amb.0 temp 1}°C${goto 170}${color2}${execbar value=$(sensors | grep "Ch. 2 DIMM 0" | cut -c 16-20); bc <<< "scale=3; $value / 127.5 * 100"}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/ram_1.png -p 17,424 -s 15x15}${voffset 04.0}${goto 40}Ch2 DIMM1${goto 120}${platform i5k_amb.0 temp 2}°C${goto 170}${color2}${execbar value=$(sensors | grep "Ch. 2 DIMM 1" | cut -c 16-20); bc <<< "scale=3; $value / 127.5 * 100"}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/ram_1.png -p 17,440 -s 15x15}${voffset 04.0}${goto 40}Ch3 DIMM0${goto 120}${platform i5k_amb.0 temp 3}°C${goto 170}${color2}${execbar value=$(sensors | grep "Ch. 3 DIMM 0" | cut -c 16-20); bc <<< "scale=3; $value / 127.5 * 100"}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/ram_1.png -p 17,456 -s 15x15}${voffset 04.0}${goto 40}Ch3 DIMM1${goto 120}${platform i5k_amb.0 temp 4}°C${goto 170}${color2}${execbar value=$(sensors | grep "Ch. 3 DIMM 1" | cut -c 17-20); bc <<< "scale=3; $value / 127.5 * 100"}${color}${offset -100}${color5}${execbar echo 0}${color}
# MISC #
${image ~/.config/conky/images/entropy_1.png -p 17,480 -s 15x15}${voffset 12.0}${goto 40}Entropy${goto 120}${entropy_perc}%${goto 170}${color3}${entropy_bar 8,100}${color}${offset -100}${color5}${execbar echo 0}${color}
${image ~/.config/conky/images/num_1.png -p 17,496 -s 15x15}${voffset 04.0}${goto 40}Num Lock${goto 120}${exec xset q | grep Num |awk '{print $8}'}
${image ~/.config/conky/images/cap_1.png -p 17,512 -s 15x15}${voffset 04.0}${goto 40}Caps Lock${goto 120}${exec xset q | grep Cap |awk '{print $4}'}
${image ~/.config/conky/images/scroll_1.png -p 17,528 -s 15x15}${voffset 04.0}${goto 40}Scroll Lock${goto 120}${exec xset q | grep Scroll |awk '{print $12}'}
# NETWORK #
${image ~/.config/conky/images/up_1.png -p 17,552 -s 15x15}${voffset 12.0}${goto 40}up${goto 120}${upspeedf enp4s0f0}${goto 170}${color5}${upspeedgraph enp4s0f0 8,100 8BA3AF 8BA3AF -lt}${color}
${image ~/.config/conky/images/down_1.png -p 17,568 -s 15x15}${voffset 04.0}${goto 40}Down${goto 120}${downspeedf enp4s0f0}${goto 170}${color5}${downspeedgraph enp4s0f0 8,100 8BA3AF 8BA3AF -lt}${color}
${image ~/.config/conky/images/interface_1.png -p 17,584 -s 15x15}${voffset 3.0}${goto 40}Interface${goto 120}${gw_iface}
${image ~/.config/conky/images/ip_1.png -p 17,600 -s 15x15}${voffset 3.5}${goto 40}IP${goto 120}${addr enp4s0f0}
${image ~/.config/conky/images/fqdn_1.png -p 17,616 -s 15x15}${voffset 04.0}${goto 40}FQDN${goto 120}$nodename
${image ~/.config/conky/images/gateway_1.png -p 17,632 -s 15x15}${voffset 04.0}${goto 40}Gateway${goto 120}$gw_ip
${image ~/.config/conky/images/dns_1.png -p 17,648 -s 15x15}${voffset 04.0}${goto 40}DNS${goto 120}${nameserver}
# SERVERS #
${execpi 90 /home/j0rd/.config/conky/pingup.sh asg.lan 672 12}
${execpi 90 /home/j0rd/.config/conky/pingup.sh elysium.lan 688 04.0}
${execpi 90 /home/j0rd/.config/conky/pingup.sh ap10.lan 704 04.0}
${execpi 90 /home/j0rd/.config/conky/pingup.sh iphone.lan 720 04.0}
${execpi 90 /home/j0rd/.config/conky/pingup.sh vitascope.lan 736 04.0}
${execpi 90 /home/j0rd/.config/conky/pingup.sh oracle.lan 752 04.0}
${execpi 90 /home/j0rd/.config/conky/pingup.sh 300.lan 768 04.0}
${execpi 90 /home/j0rd/.config/conky/pingup.sh pi.lan 784 04.0}

# TOP CPU #
#${goto 70}${color1}CPU${goto 133}PID${goto 175}CPU%${goto 220}MEM%${color}
#${goto 60}${top name 1}${goto 125}${top pid 1}${goto 163}${top cpu 1}${goto 207}${top mem 1}
#${goto 60}${top name 2}${goto 125}${top pid 2}${goto 163}${top cpu 2}${goto 207}${top mem 2}
#${goto 60}${top name 3}${goto 125}${top pid 3}${goto 163}${top cpu 3}${goto 207}${top mem 3}

# TOP RAM #
#${goto 70}${color1}RAM${goto 133}PID${goto 175}CPU%${goto 120}MEM%${color}
#${goto 60}${top_mem name 1}${goto 125}${top_mem pid 1}${goto 163}${top_mem cpu 1}${goto 207}${top_mem mem 1}
#${goto 60}${top_mem name 2}${goto 125}${top_mem pid 2}${goto 163}${top_mem cpu 2}${goto 207}${top_mem mem 2}
#${goto 60}${top_mem name 3}${goto 125}${top_mem pid 3}${goto 163}${top_mem cpu 3}${goto 207}${top_mem mem 3}

pingup.sh:

#!/usr/bin/bash

#
# pingup.sh
#
# ./pingup.sh <hostname> <vertical position> <vertical offset>

cd ~
HOST="$1"
VERT="$2"
VOFF="$3"
ping -c1 "$HOST" > /dev/null
EXIT=$?
case $EXIT in
    0)
        echo '${image ~/.config/conky/images/'"$HOST"'.png -p 17,'"$VERT"' -s 15x15}${voffset '"$VOFF"'}${goto 40}'"$HOST"'${goto 120}Up'
        ;;
    1)
        echo '${image ~/.config/conky/images/exclamation_1.png -p 1,'"$VERT"' -s 15x15}${image ~/.config/conky/images/'"$HOST"'.png -p 17,'"$VERT"' -s 15x15}${voffset '"$VOFF"'}${goto 40}'"$HOST"'${goto 120}Down'
        ;;
    2)
       echo '${image ~/.config/conky/images/exclamation_1.png -p 1,'"$VERT"' -s 15x15}${image ~/.config/conky/images/'"$HOST"'.png -p 17,'"$VERT"' -s 15x15}${voffset '"$VOFF"'}${goto 40}'"$HOST"'${goto 120}No path to host'
        ;;
esac
exit $?

Last edited by jord (2014-04-10 09:29:17)


_

Offline

#1146 2014-04-10 15:57:37

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: conky configs and screenshots!

Where did you get those icons from? They look nice!

Offline

#1147 2014-04-11 06:33:41

jord
Member
Registered: 2013-12-12
Posts: 13

Re: conky configs and screenshots!

Marcel- wrote:

Where did you get those icons from? They look nice!

I knocked them up a while bk when i could find any that were clear at such a small size so its not a complete icon set. I designed them to go on a light background originally. there is a copy of them in my Dropbox should anyone want them and scrot here.


_

Offline

#1148 2014-04-13 00:12:54

PsyGeek
Member
From: Belgium
Registered: 2013-10-16
Posts: 7

Re: conky configs and screenshots!

I installed conky recently and I finished messing with the config (for a while). Based on a few configs that were posted here, mostly the one with (almost) identical blue "titles" like CPU, TOP, etc (sorry, I can't find the original config anymore).
1shy85.png

background yes
use_xft yes
xftalpha 0.6
own_window true
own_window_type desktop
own_window_argb_visual true
# 0 = transparent, 255 = solid
own_window_argb_value 160
double_buffer yes
update_interval 1

maximum_width 200
alignment top_right
gap_x 10
gap_y 10

no_buffers yes
uppercase no
cpu_avg_samples 5
net_avg_samples 5
diskio_avg_samples 5
if_up_strictness address

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color lightgray
default_shade_color red
default_outline_color green
short_units true
use_spacer none
xftfont DejaVu Sans Mono:size=10

template0 ${font Open Sans:Bold:size=10}${color dodgerblue3}\1 ${hr 2}$color${font}${voffset 1}
template1 \1 ${alignr\ 80}${fs_bar\ \1}
template2 ${\1 name \2}${alignr}${\1 \3 \2} %
template3 ${if_up \1}${template0 \2}\ndown $alignr ${downspeed \1}/s\nup $alignr ${upspeed \1}/s\ntotal down$alignr${totaldown \1}\ntotal up $alignr${totalup \1}$endif

#${execi 30 sudo hddtemp /dev/sda | grep '/dev/sda:' | cut -c28-29}°C

TEXT
$color${font}${font Open Sans:size=44}$alignr${time %H:%M}$font$color${font Open Sans:size=15}
$alignr${time %a}, ${time %d %b %Y}$font$color

# SYS
${template0 SYSTEM}
Kernel $alignr $kernel
Uptime $alignr $uptime
Temprature $alignr ${acpitemp}°C

# CPU
${template0 CPU}
$color${font}Intel i5 2500k $alignr $cpu %
${cpugraph}
# RAM
${template0 RAM}
In use $alignr $mem
Used$alignr$memeasyfree
Buffers $alignr $buffers
Cache $alignr $cached

# NETWORK
${template3 eth0 ETH0}${template3 wlan0 WLAN0}

# TOP
${template0 TOP}
$color${font Open Sans:bold:size=8}CPU$font
${template2 top 1 cpu}
${template2 top 2 cpu}
${template2 top 3 cpu}${voffset 5}
$color${font Open Sans:bold:size=8}RAM$font
${template2 top_mem 1 mem}
${template2 top_mem 2 mem}
${template2 top_mem 3 mem}

# HDD
${template0 HDD}
${template1 /}
${template1 /boot}
${template1 /var}
${template1 /usr}
${template1 /home}
${template1 /mnt/data}

$color${font Open Sans:bold:size=8}/dev/sda $font$alignr ${hddtemp /dev/sda}°C
${diskiograph sda}

Last edited by PsyGeek (2014-04-13 00:19:15)

Offline

#1149 2014-04-13 08:00:10

JeSuisNerd
Member
From: /home/egon
Registered: 2012-03-06
Posts: 30

Re: conky configs and screenshots!

bladesuk1 wrote:

any chance you could post up your clementine template as well?  i can't for the life of me work out how to get the album art image to display hmm

Everything is in the two files I linked, after the "if_running clementine" conditions.  I installed conkyclementine-bzr for the command-line interface used in conky.

Lala0KjOA wrote:

The bar looks really cool!

Thanks!

Offline

#1150 2014-04-14 02:45:42

Name Taken
Banned
Registered: 2014-04-09
Posts: 113

Re: conky configs and screenshots!

My first Conky script that I customized this afternoon. Wanted some bright colors for a change and show the information I care about without needing anything additional. I might add CPU and GPU temperatures in the future.

Read forum rules. Do not post full size images

gap_x 30
gap_y 0
alignment middle_right
update_interval 0.5
use_xft yes
xftfont BahamasLight:size=8:bold
own_window yes
own_window_type override
own_window_transparent yes
own_window_colour 000000
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual no
own_window_argb_value 0
double_buffer yes
draw_shades no
draw_graph_borders no
uppercase yes
default_bar_size 0 4
default_graph_size 0 24
border_inner_margin 16
default_color 1ACCE0

minimum_size 0 0
TEXT
${color white}${font :size=40}${alignc}${time %I:%M:%S}${font}
${font :size=16}${alignr}${time %A}, ${time %B} ${time %d}, ${time %Y} ${font}
${color}
${alignc}${nodename} linux ${machine} ${kernel}
${alignc}${exec lscpu | grep -i "model name" | cut -c 24-}
${uptime}${alignr}${freq_g (1)}GHz
${color red}${cpugraph cpu3}
${cpubar cpu1}
${color 013ADF}thread 1${alignr}${cpu cpu1}%
${color red}${cpugraph cpu2}
${cpubar cpu2}
${color 013ADF}thread 2${alignr}${cpu cpu2}%
${color red}${cpugraph cpu3}
${cpubar cpu3}
${color 013ADF}thread 3${alignr}${cpu cpu3}%
${color red}${cpugraph cpu4}
${cpubar cpu4}
${color 013ADF}thread 4${alignr}${cpu cpu4}%${color yellow}
${top name 1}${alignr}${top cpu 1}%
${top name 2}${alignr}${top cpu 2}%
${top name 3}${alignr}${top cpu 3}%
${top name 4}${alignr}${top cpu 4}%
${top name 5}${alignr}${top cpu 5}%
${color red}total${alignr} ${cpu}%
${color purple}${memgraph}
${membar}
${color purple}ram usage${alignr} ${memperc}%${color yellow}
${top_mem name 1}${alignr}${top_mem pid 1}${alignc}${top_mem mem 1}%
${top_mem name 2}${alignr}${top_mem pid 2}${alignc}${top_mem mem 2}%
${top_mem name 3}${alignr}${top_mem pid 3}${alignc}${top_mem mem 3}%
${top_mem name 4}${alignr}${top_mem pid 4}${alignc}${top_mem mem 4}%
${top_mem name 5}${alignr}${top_mem pid 5}${alignc}${top_mem mem 5}%
${color purple}total${alignr} ${mem}/${memmax}
${color 819FF7}
sda1 ${hr 1}
/${alignr}${fs_size /}
${fs_bar /}
${fs_used_perc /}%${alignr}${fs_used /}

sda2 ${hr 1}
/home${alignr} ${fs_size /home}
${fs_bar /home}
${fs_used_perc /home}%${alignr}${fs_used /home}

sda3 ${hr 1}
/swap ${alignr} ${swapmax}
${swapbar /home}
${swapperc}%${alignr}${swap}

${color green}
enp4s0${alignr} ${addr enp4s0}
down ${downspeed enp4s0}${alignr}up ${upspeed enp4s0}
${downspeedgraph enp4s0 32, 120}${alignr}${upspeedgraph enp4s0 32, 120}
total ${totaldown enp4s0}${alignr}total ${totalup enp4s0}


${color 00FF40}${if_existing /dev/sdb1}${exec df -h | grep "sdb1" | cut -c -38} $else $endif
${if_existing /dev/sdc1}${exec df -h | grep "sdc1" | cut -c -38} $else $endif
${if_existing /dev/sdd1}${exec df -h | grep "sdd1" | cut -c -38} $else $endif
${if_existing /dev/sde1}${exec df -h | grep "sde1" | cut -c -38} $else $endif

Last edited by Inxsible (2014-04-14 17:08:24)

Offline

Board footer

Powered by FluxBB