Author Topic: Conky thread, show your work!  (Read 118088 times)

0 Members and 2 Guests are viewing this topic.

Offline tsw

  • Vollwertiges Mitglied
  • ***
  • Posts: 120
  • Branch: Stable
  • Desktop: Openbox
  • GPU Card: ATI
  • GPU driver: non-free
  • Kernel: 3.10.7-1
  • Skill: Intermediate
Conky thread, show your work!
« on: 23. March 2013, 18:12:16 »
Yes, in thesame spirit as on Arch forum, a conky thread. Found one  here, but felt very dead. So, I'll try to make a new one.

I hope we can share usefull commands and bright ideas here.  Of course I start with sharing mine,
it is work in progress, change it all the time, but it's getting there. Will add conkyrc to the pastebin later (will edit post then).

I've made the rough layout, now for some tweaks, colors, and some polsih - and to me thats the hard part, make it look good.
Must add some TOP aswell, and minor details.



And a little tip also. Use IF when making conkys! Like for my interfaces. eth0 for example.

${if_existing /proc/net/route eth0} Write stuff about it IF used.${else} eth0 not used.. ${endif}

This can be used in many ways, like ${if_running blabla} , for example spotify, execute a script to find song, IF running. Not the best tip in the world, but maybe helps someone to think out new stuff.
« Last Edit: 23. March 2013, 18:20:29 by tsw »
$ pacman -Rds windows &&  pacman -S linux

Offline poker98face

  • Held Mitglied
  • *****
  • Posts: 1586
  • Open your Source, Open your Mind
  • Branch: stable Arch
  • Desktop: KDE
  • GPU Card: ATI 5470
  • GPU driver: free
  • Kernel: 3.15 Arch
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #1 on: 23. March 2013, 18:22:34 »

Found on internet, i have changed icon from ubuntu to arch, added second partition and changed color and position :) Can you please tell me how to add clock to conky?
« Last Edit: 23. March 2013, 18:25:36 by poker98face »

PC: Windows 7 Notebook: Arch

Offline tsw

  • Vollwertiges Mitglied
  • ***
  • Posts: 120
  • Branch: Stable
  • Desktop: Openbox
  • GPU Card: ATI
  • GPU driver: non-free
  • Kernel: 3.10.7-1
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #2 on: 23. March 2013, 18:32:42 »
First, your question: 

${time %a %d %b %Y}   were:  a = day, d = date, b = month, Y  = year

experiment with the variables, there are quite a lot to try.  But just a basic clock: ${time %l:%M}

And now, looking good! you are using openlogos? I've tried it, but only shows square! So anoying. Even that:
[tsw@megatron ~]$ pacman -Q | grep openlogos
ttf-openlogos 0.806-3
$ pacman -Rds windows &&  pacman -S linux

Offline poker98face

  • Held Mitglied
  • *****
  • Posts: 1586
  • Open your Source, Open your Mind
  • Branch: stable Arch
  • Desktop: KDE
  • GPU Card: ATI 5470
  • GPU driver: free
  • Kernel: 3.15 Arch
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #3 on: 23. March 2013, 18:47:43 »
https://bbs.archlinux.org/viewtopic.php?id=45256 openlogos from repo doesnt working  ;)

PC: Windows 7 Notebook: Arch

Offline mips

  • Held Mitglied
  • *****
  • Posts: 2892
  • Valkyrja
  • Branch: Testing
  • Desktop: XFCE
  • GPU Card: GTX 960
  • GPU driver: video-nvidia
  • Kernel: 3.16
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #4 on: 23. March 2013, 19:02:44 »
When you guys post here it would be helpful if you included the configs in code tags or linked to them on pastebin.

Offline tsw

  • Vollwertiges Mitglied
  • ***
  • Posts: 120
  • Branch: Stable
  • Desktop: Openbox
  • GPU Card: ATI
  • GPU driver: non-free
  • Kernel: 3.10.7-1
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #5 on: 23. March 2013, 19:10:03 »
When you guys post here it would be helpful if you included the configs in code tags or linked to them on pastebin.

Yepp, that was my plan. Easy to grab a complete, or parts of code, or just inspiration. Sharing is caring :)

I just want to make it feel more complete before I paste the code for mine. I will also make it more userfriendly first, many comments and easy
to understand what is what - for changing it and such. So fairly soon I will edit my first post and attach link to pastebin. But the main point with a thread like
this is to share config, almost pointless otherwise.

Changed my mind, sharing it anyway, it is not close to "final", and quite messy, but still, output as it is now will be as in post #1 (you only need to change path
for mount points, and interface names. It has a lot commented out. Beacuse I'm trying layouts all the time, adding, moving, etc :) But here it is as we speak..

Code: [Select]
######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 2

imlib_cache_size 0
double_buffer yes
no_buffers yes

format_human_readable

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Droid Sans: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_y 10
gap_x 20
border_inner_margin 0

minimum_size 280 300
#maximum_width 400
#maximum_height 460

default_bar_size 92 6

#########################
# - Graphics settings - #
#########################
draw_shades no
default_shade_color 000000
default_color FFFFFF

TEXT
${alignc -24}${color  white}${font Neuropolitical:pixelsize=11}${time %a %d %b %Y}     ${font}
${font Droid Sans:style=Bold:size=8}MANJAROLINUX $hr${font}
##############
# -   OS       - #
##############
${voffset 5}${font OpenLogos:size=35}${font}${goto 45}${voffset -30}Name:  ${alignr}${nodename}
${goto 45}OS: ${alignr}Manjaro Linux
${goto 45}Kernel: ${alignr}${kernel}
${goto 45}Uptime: ${alignr}${uptime}
${goto 45}Avg Load: ${alignr}${cpu cpu0}%
${voffset 8}${font Droid Sans:style=Bold:size=8}SYSTEM $hr${font}
##############
# - SYSTEM - #
##############
# |--CPU
${voffset 6}${font Droid Sans:style=Bold:size=8}CPU${font}${offset -20}${goto 45}Core 1: ${font Droid Sans:style=Bold:size=8}${cpu cpu1}%${font} ${alignr}Core 2: ${font Droid Sans:style=Bold:size=8}${cpu cpu2}%${font}
${goto 45}Core 3: ${font Droid Sans:style=Bold:size=8}${cpu cpu3}%${font} ${alignr}Core 4: ${font Droid Sans:style=Bold:size=8}${cpu cpu4}%
# |--MEM
${voffset 6}${font Droid Sans:style=Bold:size=8}RAM${font}${goto 45}RAM: ${font Droid Sans:style=Bold:size=8}$memperc%${font} ${alignr}${membar 7,70}
${goto 45}Free: ${font Droid Sans:style=Bold:size=8}${memeasyfree}${font} ${alignr}Used: ${font Droid Sans:style=Bold:size=8}${mem}${font}
# |--HDD'

${font Droid Sans:style=Bold:size=8}STORAGE $hr${font}
${voffset 5}${goto 45}Root ${font Droid Sans:style=Bold:size=8}${fs_used_perc /}%${font} ${alignr}${fs_bar 7,70 /}
${goto 45}Free: ${font Droid Sans:style=Bold:size=8}${fs_free /}${font} ${alignr}Used: ${font Droid Sans:style=Bold:size=8}${fs_used /}${font}

${goto 45}Home ${font Droid Sans:style=Bold:size=8}${fs_used_perc /home}%${font} ${alignr}${fs_bar 7,70 /home}
${goto 45}Free: ${font Droid Sans:style=Bold:size=8}${fs_free /home}${font} ${alignr}Used: ${font Droid Sans:style=Bold:size=8}${fs_used /home}${font}

${goto 45}Windows: ${font Droid Sans:style=Bold:size=8}${fs_used_perc /run/media/tsw/windows}%${font} ${alignr}${fs_bar 7,70 /run/media/tsw/windows}
${goto 45}Free: ${font Droid Sans:style=Bold:size=8}${fs_free /run/media/tsw/windows}${font} ${alignr}Used: ${font Droid Sans:style=Bold:size=8}${fs_used /run/media/tsw/windows}${font}

${goto 45}Data: ${font Droid Sans:style=Bold:size=8}${fs_used_perc /run/media/tsw/data}%${font} ${alignr}${fs_bar 7,70 /run/media/tsw/data}
${goto 45}Free: ${font Droid Sans:style=Bold:size=8}${fs_free /run/media/tsw/data}${font} ${alignr}Used: ${font Droid Sans:style=Bold:size=8}${fs_used /run/media/tsw/data}${font}
# |--SWAP
#${voffset 5}${font Droid Sans:style=Bold:size=8}SWAP${font}${goto 45}Swap: ${font Droid Sans:style=Bold:size=8}${swapperc}%${font} ${alignr}${swapbar 7,70}
#${goto 45}Free: ${font Droid Sans:style=Bold:size=8}$swapmax${font} ${alignr}Used: ${font Droid Sans:style=Bold:size=8}$swap${font}
###############
# - NETWORK - #
###############
${voffset 8}${font Droid Sans:style=Bold:size=8}NETWORK $hr${font}
#${voffset 5}${font Droid Sans:style=Bold:size=8}Public${font}${goto 45}Addr:${goto 85}${font Droid Sans:style=Bold:size=8}${execi 240 curl http://automation.whatismyip.com/#n09230945.asp}${font}
${if_existing /proc/net/route wlp4s0}${voffset 5}${font Droid Sans:style=Bold:size=8}wlan0${font}${goto 45}Addr:${goto 85}${font Droid Sans:style=Bold:size=8}${addr wlp4s0}${font}
${goto 45}Down:${goto 85}${font Droid Sans:style=Bold:size=8}${downspeed wlp4s0}${font}${alignr}${downspeedgraph wlp4s0 8,50 000000 00FF00}
${goto 45}Up:${goto 85}${font Droid Sans:style=Bold:size=8}${upspeed wlp4s0}${font}${alignr}${upspeedgraph wlp4s0 8,50 000000 FF0000}
${goto 45}Total:${goto 85}${font Droid Sans:style=Bold:size=8}${totaldown wlp4s0}${font} / ${font Droid Sans:style=Bold:size=8}${totalup wlp4s0}${font}${else}${font Droid Sans:style=Bold:size=8}wlp4s0${font}${goto 45}Not Conencted${endif}

${if_existing /proc/net/route eth0}${voffset 5}${font Droid Sans:style=Bold:size=8}eth0${font}${goto 45}Addr:${goto 85}${font Droid Sans:style=Bold:size=8}${addr eth0}${font}
${goto 45}Down:${goto 85}${font Droid Sans:style=Bold:size=8}${downspeed eth0}${font}${alignr}${downspeedgraph eth0 8,50 EEEEEE}
${goto 45}Up:${goto 85}${font Droid Sans:style=Bold:size=8}${upspeed eth0}${font}${alignr}${upspeedgraph eth0 8,50 EEEEEE}
${goto 45}Total:${goto 85}${font Droid Sans:style=Bold:size=8}${totaldown eth0}${font} / ${font Droid Sans:style=Bold:size=8}${totalup eth0}${font}${else}${font Droid Sans:style=Bold:size=8}eth0${font}${goto 45}Not Connected${endif}

${if_existing /proc/net/route wlp4s0}${voffset 8}${font Droid Sans:style=Bold:size=8}WIRELESS $hr${font}
${voffset 5}${goto 45}Int:${goto 85}${font Droid Sans:style=Bold:size=8}wlp4s0${font}
${goto 45}SSID:${goto 85}${font Droid Sans:style=Bold:size=8}${wireless_essid wlp4s0}${font}
${goto 45}Speed:${goto 85}${font Droid Sans:style=Bold:size=8}${wireless_bitrate wlp4s0}${font}
${goto 45}Signal:${goto 85}${font Droid Sans:style=Bold:size=8}${wireless_link_qual_perc wlp4s0}%${font}${alignr}${wireless_link_bar 7,70 wlp4s0}${endif}
#############
# - CLOCK - #
#############
${voffset 8}${font Droid Sans:style=Bold:size=8}CLOCK $hr${font}
${font Droid Sans:size=20}${alignc}${time %l:%M}${font}
${alignc}${time %d %B %Y}
« Last Edit: 23. March 2013, 19:14:24 by tsw »
$ pacman -Rds windows &&  pacman -S linux

Offline verderol

  • Vollwertiges Mitglied
  • ***
  • Posts: 225
  • Branch: Stable
  • Desktop: Xfce
  • GPU Card: Intel HD 4400
  • GPU driver: Free
  • Kernel: linux318
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #6 on: 27. March 2013, 11:16:17 »
Still working on it

Found the Weather script in the crunchbang forums. Kudos




Code: [Select]
#Author url = http://dobbie03.deviantart.com/art/My-First-Conky-Config-327206399
#Modified by Umair = http://www.NoobsLab.com

alignment middle_middle
background no
border_margin 5
border_width 5
default_color d7d7d7  #413536 # grey 5f5f5f 3F3F3F 183149 3B3B3B 26211F
double_buffer yes
draw_borders no
draw_outline no
draw_shades no
gap_x 0
gap_y 80
maximum_width 1000
minimum_size 175
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_title conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_argb_visual yes
own_window_type conky
text_buffer_size 8000
total_run_times 0
update_interval 1
uppercase no
use_xft yes
xftalpha 1
xftfont Freesans:pixelsize=9

# fonts
# Blue Highway
# Zegoe Light - U
# Zekton
# Calibri
# Engebrechtre
# Opeln2001
# Pricedown

TEXT
${color F8F8FF}${font brook23:pixelsize=24}${alignc}${time [ %A, %H:%M:%S ]}${font}
${color FFFFFF}${font brook23:pixelsize=65}${alignc}${time %d %B, %Y}${font}


${font Denne's Old Handwriting:pixelsize=18}${alignc}[ CPU1: ${cpu cpu0}% CPU2: ${cpu cpu1}% | RAM Usage: ${mem} ]
${font Denne's Old Handwriting:pixelsize=18}${alignc}[ Root: ${fs_free /} / ${fs_size /} ]
${font Denne's Old Handwriting:pixelsize=18}${alignc}[ User: ${exec users} | System Uptime: ${uptime_short} ]
${font Denne's Old Handwriting:pixelsize=18}${alignc}[ Net Up: ${upspeed eth0} Net Down: ${downspeed eth0} ]
${font Denne's Old Handwriting:pixelsize=18}${alignc}[ MANJARO: ${rss http://manjaro.org/feed/ 1 item_titles 1} ]

Code: [Select]
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_class Conky
own_window_hints undecorated,below,skip_taskbar,skip_pager below
double_buffer yes


# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
text_buffer_size 2048

# fiddle with window
use_spacer right
use_xft yes

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
minimum_size 1000 576
maximum_width 230
alignment top_left

override_utf8_locale yes

# Draw shades?
draw_shades no

# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
xftfont brook23:size=14
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_inner_margin 9
border_outer_margin 0

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color cbcbcb


# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 60

# stuff after 'TEXT' will be formatted on screen

TEXT

${color 8e8e8e}WEATHER ${hr 2}$color${execi 600 bash $HOME/1a_accuweather_conkyweather_font/1a}

${font conkyweather:size=40}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/curr_cond}${font}${goto 75}${voffset -40}CURRENTLY: ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/curr_cond}°C
${goto 75}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/curr_cond|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '7p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '6p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '12p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '11p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '17p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '16p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '22p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '21p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '7p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '6p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '12p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '11p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '17p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '16p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '22p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '21p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}



« Last Edit: 27. March 2013, 11:22:26 by verderol »

Offline LCJr

  • Held Mitglied
  • *****
  • Posts: 639
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #7 on: 28. March 2013, 23:52:17 »
Like everything else on my computer a rather boring(but functional) Conky:)  I started orginally with Conky Bebop by elchacmool and have pretty much redone the whole thing.  I think the clock is about the only thing I've left untouched.

Code: [Select]
#Based off Conky bebop by elchacmool
#Inspired in: http://pastebin.com/HjGiZH1E
# Use Xft?
use_xft yes
xftfont Deja Vu Serif:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 2

# set to yes if you want Conky to be forked in the background
background yes

# 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 conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
##############################################
# Compositing tips:
# Conky can play strangely when used with
# different compositors. I have found the
# following to work well, but your mileage
# may vary. Comment/uncomment to suit.
##############################################
## no compositor
own_window_type override
own_window_argb_visual no

## xcompmgr
#own_window_type override
#own_window_argb_visual yes

## cairo-compmgr
#own_window_class Conky
#own_window_argb_visual no
#####################################
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color 54C571
own_window_colour black
color1 CACACA

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 10

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

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1

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

TEXT


${font AvantGarde:pixelsize=65}${alignc}${time %H:%M}${font}

${font avantgarde:pixelsize=11}${alignc}${time  %B %d, %Y}
${alignc}${time %A}${font}

MANJARO LINUX NET EDITION ${hr 2}

${voffset 4} Kernel: ${alignr}${kernel}
${voffset 4} Uptime: ${alignr}$uptime_short

CPU FREQUENCY/LOAD/TEMP ${hr 2}

${voffset 4} CPU Avg: ${alignr}${freq_g cpu0}GHz / ${cpu cpu0}% / ${hwmon 0 temp 1}C
${voffset 4} Core 0: ${alignr}${freq_g cpu1}GHz / ${cpu cpu1}% / ${hwmon 0 temp 2}C
${voffset 4} Core 1: ${alignr}${freq_g cpu2}GHz / ${cpu cpu2}% / ${hwmon 0 temp 3}C

${voffset 4} GPU: ${alignr}${hwmon 2 temp 1}C

TOP CPU ${hr 2}
${voffset 4} ${top name 1}${alignr} ${top cpu 1}
${voffset 4} ${top name 2}${alignr} ${top cpu 2}
${voffset 4} ${top name 3}${alignr} ${top cpu 3}
${voffset 4} ${top name 4}${alignr} ${top cpu 4}
${voffset 4} ${top name 5}${alignr} ${top cpu 5}

MEMORY USED/TOTAL ${hr 2}

${voffset 4} RAM: ${alignr}$mem / $memmax
${voffset 4} Swap: ${alignr}$swap / $swapmax

TOP RAM ${hr 2}
${voffset 4} ${top_mem name 1}${alignr} ${top_mem mem_res 1}
${voffset 4} ${top_mem name 2}${alignr} ${top_mem mem_res 2}
${voffset 4} ${top_mem name 3}${alignr} ${top_mem mem_res 3}
${voffset 4} ${top_mem name 4}${alignr} ${top_mem mem_res 4}
${voffset 4} ${top_mem name 5}${alignr} ${top_mem mem_res 5}

NETWORK ${hr 2}

${voffset 4} Down: ${downspeedf eno1}KiB/s ${alignr}Up: ${upspeedf eno1}KiB/s
${voffset 4} Total Down: ${alignr}${totaldown eno1}
${voffset 4} Total Up: ${alignr}${totalup eno1}

HDD USED/FREE/TOTAL ${hr 2}

${voffset 4} sdb6: ${alignr}${fs_used /} / ${fs_free /} / ${fs_size /}







About the only helpful tips I can give is look over the objects list on the Conky site:  http://conky.sourceforge.net/variables.html
And use hwmon for temps, see method two here:  http://conky.pitstop.free.fr/wiki/index.php5?title=Using_Sensors_%28en%29

Offline Marz0

  • Vollwertiges Mitglied
  • ***
  • Posts: 101
  • Branch: Stable
  • Desktop: Cinnamon 2.6.13
  • GPU Card: ASUS Strix GeForce GTX 970
  • GPU driver: Non-free (NVIDIA 355.11)
  • Kernel: 4.2.1-1-MANJARO x86_64 (64 bit)
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #8 on: 30. March 2013, 18:28:53 »
Here is my config.  I found the basis of this online and modded to my liking.



Code: [Select]
## I don't take full credit for this config!  I found it on the net and mofified to my own liking.
##
background no
font sans:size=8
#xftfont sans:size=10
use_xft yes
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 600
maximum_width 225
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment top_right
gap_x 20
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
temperature_unit celcius

TEXT
${image $HOME/.Conky/Pukin/logo1.png -p 0,5 -s 55x55} ${alignc 72}${font Neuropolitical:pixelsize=30}${alignr}${color tan2}Manjaro
${color tan2}${font Neuropolitical:size=8:bold}TIME ${color slategrey} ${hr 2} ${color white}${font}
${color white}${font Neuropolitical:pixelsize=46}${time %H:%M}${font}
${alignc -24}${color  white}${font Neuropolitical:pixelsize=10}${time %a %d %b %Y}${font}
${color tan2}${font Neuropolitical:size=8:bold}SYSTEM ${color slategrey} ${hr 2} ${color white}${font}
 Hostname: $alignr$nodename
 Kernel: $alignr$kernel
 Uptime: $alignr$uptime
 Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 6, 140 BAT1}

${color tan2}${font Neuropolitical:size=8:bold}PROCESSOR ${color slateGray} ${hr 2} ${color white}${font}
 CPU: ${alignr}${freq} MHz
 Processes: ${alignr}$processes ($running_processes running)
 CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 6,140}
 CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 6,140}
 CPU3: ${cpu cpu3}% ${alignr}${cpubar cpu3 6,140}
 CPU4: ${cpu cpu4}% ${alignr}${cpubar cpu4 6,140}
 CPU Temp:${alignr}${hwmon temp 1}°C

${color tan2}${font Neuropolitical:size=8:bold}MEMORY ${color SlateGray} ${hr 2} ${color white}${font}
 Ram: ${memperc}% ${alignr}${membar 5,140}
 Swap: ${swapperc}% ${alignr}${swapbar 5,140}

${color tan2}${font Neuropolitical:size=8:bold}PROCESSES ${color SlateGray} ${hr 2} ${color white}${font}
 NAME: $alignr   PID   CPU  MEM ${font sans:pixelsize=9}
   ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
   ${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
   ${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
   ${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
   ${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}

${font Neuropolitical:bold:size=8}${color tan2}FILESYSTEM ${color slategrey} ${hr 2} ${color white}${font}
 Root: ${alignr}${fs_used_perc /}%  ${fs_bar 6, 140}
${font sans:pixelsize=7.85}${alignc 48}Size: ${fs_used /} / ${fs_size}${font}
 Data: ${alignr}${fs_used_perc /run/media/james/Storage}%  ${fs_bar 6, 140 /run/media/james/Storage}
${font sans:pixelsize=7.85}${alignc 48}Size: ${fs_used /media/New Volume} / ${fs_size /media/New Volume}${font}
 Removable:
  Cruiser: ${fs_used_perc /media/D092-94A9}% ${fs_bar 6, 60 /media/D092-94A9} ${font sans:pixelsize=7.85}${alignr}${fs_used /media/D092-94A9} / ${fs_size /media/D092-94A9}${font}
  Xternal: ${fs_used_perc /media/Elements}% ${fs_bar  6, 60 /media/Elements} ${font sans:pixelsize=7.85}${alignr}${fs_used /media/Elements} / ${fs_size /media/Elements}${font}

${color tan2}${font Neuropolitical:size=8:bold}NETWORK ${color slateGray} ${hr 2} ${color white}${font}
 SSID: $alignr ${wireless_essid wlp0s29u1u7}
 WiFi Signal: ${alignr}${wireless_link_bar 6, 140 wlp0s29u1u7}
 Local IP: ${alignr}${addr wlp0s29u1u7}
 Public IP: ${alignr}${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}

${color tan2}${font Neuropolitical:size=8:bold}NVIDIA ${color slateGray} ${hr 2} ${color white}${font}
${alignr}${font Neuropolitical:pixelsize=8.5}${color tan2}${exec inxi -G | grep -i "card" | tail -c+26}${color white}${font}
GPU Clock: ${alignr}${exec nvidia-settings -q GPU2DClockFreqs -t}MHz${color}
Video RAM: ${alignr}${exec nvidia-settings -q VideoRam -t} KiB
Driver Version: ${alignr}${exec nvidia-settings -q NvidiaDriverVersion -t}
Resolution:${alignr}${exec inxi -G | grep "Resolution" | tail -c+84}
#Resolution: ${alignr}${exec nvidia-settings -q FrontEndResolution -t}
#Refresh: ${alignr}${exec nvidia-settings -q RefreshRate3 -t}
OpenGL: ${alignr}${exec nvidia-settings -q OpenGLVersion -t | head -c6}
Xorg: ${alignr}${exec cat /var/log/Xorg.0.log | grep "X.Org X Server " | tail -c+16}${font}

OS: Manjaro Linux 64Bit Cinnamon
Motherboard: ASUS X99 Deluxe
Ram: 16GB, CPU Core i7 5930
Graphics: ASUS Strix (nVidia) GeForce 970
2 x 240GB KINGSTON SSDs, 1 x 128GB KINGSTON SSD.

Offline eskaini

  • Security Team
  • *****
  • Posts: 10842
  • I eat deleted accounts
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #9 on: 30. March 2013, 18:31:56 »
Nice buddy, like it :)

Offline Marz0

  • Vollwertiges Mitglied
  • ***
  • Posts: 101
  • Branch: Stable
  • Desktop: Cinnamon 2.6.13
  • GPU Card: ASUS Strix GeForce GTX 970
  • GPU driver: Non-free (NVIDIA 355.11)
  • Kernel: 4.2.1-1-MANJARO x86_64 (64 bit)
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #10 on: 30. March 2013, 21:03:57 »
Made a slight change.  Neuropolitical font can be found using "yaourt Neuropolitical"



Code: [Select]
## I don't take full credit for this config!  I found it on the net and modded to my own liking.
##
background no
font sans:size=8
#xftfont sans:size=10
use_xft yes
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 600
maximum_width 225
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment top_right
gap_x 20
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
temperature_unit celcius

TEXT
${image $HOME/.Conky/Pukin/logo1.png -p 0,5 -s 55x55} ${alignc 72}${font Neuropolitical:pixelsize=30}${alignr}${color tan2}Manjaro
${color tan2}${font Neuropolitical:size=8:bold}TIME ${color slategrey} ${hr 2} ${color white}${font}
${color white}${font Neuropolitical:pixelsize=46}${time %H:%M}${font}
${alignc -24}${color  white}${font Neuropolitical:pixelsize=10}${time %a %d %b %Y}${font}
${color tan2}${font Neuropolitical:size=8:bold}SYSTEM ${color slategrey} ${hr 2} ${color white}${font}
 Hostname: $alignr$nodename
 Kernel: $alignr$kernel
 Uptime: $alignr$uptime
 Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 6, 140 BAT1}

${color tan2}${font Neuropolitical:size=8:bold}PROCESSOR ${color slateGray} ${hr 2} ${color white}${font}
${color tan2}${font Neuropolitical:size=8:bold}${exec inxi -C | grep -E -o "Core.{0,9}"}${color white}${font}
 CPU: ${alignr}${freq} MHz
 Processes: ${alignr}$processes ($running_processes running)
 CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 6,140}
 CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 6,140}
 CPU3: ${cpu cpu3}% ${alignr}${cpubar cpu3 6,140}
 CPU4: ${cpu cpu4}% ${alignr}${cpubar cpu4 6,140}
 CPU Temp:${alignr}${hwmon temp 1}°C

${color tan2}${font Neuropolitical:size=8:bold}MEMORY ${color SlateGray} ${hr 2} ${color white}${font}
 Ram: ${memperc}% ${alignr}${membar 5,140}
 Swap: ${swapperc}% ${alignr}${swapbar 5,140}

${color tan2}${font Neuropolitical:size=8:bold}PROCESSES ${color SlateGray} ${hr 2} ${color white}${font}
 NAME: $alignr   PID   CPU  MEM ${font sans:pixelsize=9}
   ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
   ${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
   ${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
   ${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
   ${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}

${font Neuropolitical:bold:size=8}${color tan2}FILESYSTEM ${color slategrey} ${hr 2} ${color white}${font}
 Root: ${alignr}${fs_used_perc /}%  ${fs_bar 6, 140}
${font sans:pixelsize=7.85}${alignc 48}Size: ${fs_used /} / ${fs_size}${font}
 Data: ${alignr}${fs_used_perc /run/media/james/Storage}%  ${fs_bar 6, 140 /run/media/james/Storage}
${font sans:pixelsize=7.85}${alignc 48}Size: ${fs_used /media/New Volume} / ${fs_size /media/New Volume}${font}
 Removable:
  Cruiser: ${fs_used_perc /media/D092-94A9}% ${fs_bar 6, 60 /media/D092-94A9} ${font sans:pixelsize=7.85}${alignr}${fs_used /media/D092-94A9} / ${fs_size /media/D092-94A9}${font}
  Xternal: ${fs_used_perc /media/Elements}% ${fs_bar  6, 60 /media/Elements} ${font sans:pixelsize=7.85}${alignr}${fs_used /media/Elements} / ${fs_size /media/Elements}${font}

${color tan2}${font Neuropolitical:size=8:bold}NETWORK ${color slateGray} ${hr 2} ${color white}${font}
 SSID: $alignr ${wireless_essid wlp0s29u1u7}
 WiFi Signal: ${alignr}${wireless_link_bar 6, 140 wlp0s29u1u7}
 Local IP: ${alignr}${addr wlp0s29u1u7}
 Public IP: ${alignr}${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}

${color tan2}${font Neuropolitical:size=8:bold}NVIDIA ${color slateGray} ${hr 2} ${color white}${font}
${alignr}${font Neuropolitical:pixelsize=8}${color tan2}${exec inxi -G | grep -i "card" | tail -c+26}${color white}${font}
GPU Clock: ${alignr}${exec nvidia-settings -q GPU2DClockFreqs -t}MHz${color}
Video RAM: ${alignr}${exec nvidia-settings -q VideoRam -t} KiB
Driver Version: ${alignr}${exec nvidia-settings -q NvidiaDriverVersion -t}
Resolution:${alignr}${exec inxi -G | grep "Resolution" | tail -c+84}
#Resolution: ${alignr}${exec nvidia-settings -q FrontEndResolution -t}
#Refresh: ${alignr}${exec nvidia-settings -q RefreshRate3 -t}
OpenGL: ${alignr}${exec nvidia-settings -q OpenGLVersion -t | head -c6}
Xorg: ${alignr}${exec cat /var/log/Xorg.0.log | grep "X.Org X Server " | tail -c+16}${font}
OS: Manjaro Linux 64Bit Cinnamon
Motherboard: ASUS X99 Deluxe
Ram: 16GB, CPU Core i7 5930
Graphics: ASUS Strix (nVidia) GeForce 970
2 x 240GB KINGSTON SSDs, 1 x 128GB KINGSTON SSD.

Offline Culinax

  • Support Team
  • ****
  • Posts: 1146
  • Branch: Unstable
  • Desktop: Awesome 3.5
  • GPU Card: NVIDIA GeForce 710M - Intel (Optimus)
  • GPU driver: Free Driver
  • Kernel: Linux315-x64
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #11 on: 08. April 2013, 21:28:33 »
This is mine, it's pretty basic, but I use it as an alternative statusbar in spectrwm before I start writing my own in bash (but I think that'll mostly become copy-paste work :P )



Code: [Select]
out_to_console yes
out_to_x no
background no
update_interval 2
total_run_times 0
use_spacer none

TEXT
${color}$mpd_smart  ::  ${color 66a0ba}CPU: ${color}${cpu cpu1}% / ${cpu cpu2}%  ::  ${color 66a0ba}RAM: ${color}$memperc% ($mem)  ::  ${color 66a0ba}Temp: ${color}$acpitemp${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C  ::  ${color 66a0ba}Bat: ${color}${battery_short BAT1}  ::  ${time %d/%m/%Y %H:%M}
Manjaro Awesome WM Respin: Current version: 0.8.10
Belgian/Dutch Manjaro Linux users: unite! http://manjaro-nl.org/ | IRC: #manjaro-nl

Offline poker98face

  • Held Mitglied
  • *****
  • Posts: 1586
  • Open your Source, Open your Mind
  • Branch: stable Arch
  • Desktop: KDE
  • GPU Card: ATI 5470
  • GPU driver: free
  • Kernel: 3.15 Arch
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #12 on: 09. April 2013, 13:07:36 »
Here is my new conky  :)


But i need help, i wanna add processor/video card temperature, add manjaro logo and make it bigger but i don't know how to do this.
Code: [Select]
#######################################################################################
###  Conky by http://gnome-look.org/content/show.php/conky+gray?content=155967     ####
###  Modified by:http:www.NoobsLab.com and poker98face :)  ###                                           
#######################################################################################

double_buffer yes
own_window_class conky
own_window yes
own_window_type conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
draw_borders no
draw_graph_borders no
border_margin 3
draw_shades yes
gap_x 0
gap_y 5
alignment top_left
update_interval 1
default_color  8f8f8f
own_window_colour 2d2d2d
use_xft yes
xftfont sans:size=7
override_utf8_locale yes
use_spacer none
minimum_size 1920 0
TEXT
${goto 5}Date: ${color e0e0e0}${font sans:size=7}${time %d/%m/%y}${color}${font}  Time: ${color e0e0e0}${font sans:size=7}${time %H:%M}${color}${font}  |  Kernel: ${color e0e0e0}${font sans:size=7}$kernel${color}${font}  Uptime: ${color e0e0e0}${font sans:size=7}${uptime_short}${color}${font}  |  Cpu: ${color e0e0e0}${font sans:size=7}${cpu}%${color}${font}  Ram: ${color e0e0e0}${font sans:size=7}${memperc}%${color}${font}  Swap: ${color e0e0e0}${font sans:size=7}${swapperc}%${color}${font}    |   ${color e0e0e0}${font sans:size=7}Root${color}${font} ${fs_used_perc /}% ${fs_used /} / ${fs_size /}|   ${color e0e0e0}${font sans:size=7}Dane${color}${font} ${fs_used_perc /mnt/Dane}% ${fs_used /mnt/Dane} / ${fs_size /mnt/Dane}    |  ${color} ${if_existing /proc/net/route wlp2s0}Network: ${color 82BA00}Up :${color} ${color e0e0e0}${upspeed wlp2s0} kb/s${color}  ${color 82BA00}Down :${color} ${color e0e0e0}${downspeed } kb/s${color} ${color 82BA00}Total :${color} ${color e0e0e0}${totaldown wlp2s0}${color}${else}${if_existing /proc/net/route wlp2s0}${color 82BA00}${font sans:size=7}Up :${color}${font} ${color e0e0e0}${upspeed wlp2s0} kb/s${color}  ${color 82BA00}${font sans:size=7}Down :${color}${font} ${color e0e0e0}${downspeed wlp2s0} kb/s${color} ${color 82BA00}${font sans:size=7}Total down :${color}${font} ${color e0e0e0}${totaldown wlp2s0}${color}${endif}${else}Network Unavailable${endif}

PC: Windows 7 Notebook: Arch

Offline eskaini

  • Security Team
  • *****
  • Posts: 10842
  • I eat deleted accounts
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #13 on: 09. April 2013, 13:24:24 »
I can't help you with your questions, but i have a link for you: http://conky.sourceforge.net/config_settings.html

And one thing to the conky code:

Code: [Select]
#######################################################################################
###  Conky by http://gnome-look.org/content/show.php/conky+gray?content=155967     ####
###  Modified by:http:www.NoobsLab.com and poker98face :)  ###                                           
#######################################################################################

This can't be right, because we used this conky config 2011 when we started Manjaro. I don't know who was the creator (maybe Roland himself), but i know that it was me who modified and enhanced it.
But it doesn't matter now who and when it was, just for your information. ;)

Offline poker98face

  • Held Mitglied
  • *****
  • Posts: 1586
  • Open your Source, Open your Mind
  • Branch: stable Arch
  • Desktop: KDE
  • GPU Card: ATI 5470
  • GPU driver: free
  • Kernel: 3.15 Arch
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #14 on: 09. April 2013, 13:37:02 »

PC: Windows 7 Notebook: Arch