Conky thread, show your work!

how-to
conky
#259

I have been trying to figure out editing ( off and 0n ) conky for 2 yrs now. That is exactly what I been trying to do. LOL I must be stupid to not figure it out. Looks very nice…Great Job!!!

1 Like

#260

Just a simple minimal conky with some custom ascii art.

## isfor_i3_Ameneurosis 

background no

# Window
own_window_argb_visual true
own_window_type override
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Graphics
double_buffer yes
override_utf8_locale yes
use_xft yes
xftfont DejaVu Sans Mono:size=10
xftalpha 1.0
update_interval 1
uppercase no
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

text_buffer_size 1028 # 256 is minimum
no_buffers yes
short_units yes
pad_percents 2
top_name_width 10

# Layout
alignment ml
gap_x 55
gap_y 16

minimum_size 120 5
maximum_width 400

color0 16a085
color1 68DEDE

TEXT

${color1}
   _________   ___ 
  |         | |   |
  |    _____| |   |
  |   |  ___  |   |
  |   | |   | |   |
  |   | |   | |   |
  |   | |   | |   |
  |   | |   | |   |
  |___| |___| |___|

${goto 24}${color1}${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'}${color0}
  |   |___${color1}${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}${color0}
  |   |___${color1}${kernel}${color0}
  |
  |___Time
  |   |__${color1}${time %A} ${alignr}${time %B %e}${color0}
  |   |__Current Time ${color1}${alignr}${time %l:%M %p}${color0}
  |   |__Uptime ${color1}${alignr}${uptime_short}${color0}
  |
  |___CPU ${color1}${hwmon 1 temp 1}Β°C ${color0}
  |   |__CPU1: ${color1}${cpu cpu1}% ${alignr}${cpubar cpu1 12,70}${color0}
  |   |__CPU2: ${color1}${cpu cpu2}% ${alignr}${cpubar cpu2 12,70}${color0}
  |      
  |___RAM ${color1}${mem} / ${memfree} / ${memmax} ${alignr}${memperc}% ${color0}
  |		
  |___HDD
  |   |__${color1}${fs_used /} / ${fs_free /} / ${fs_size /} $alignr${fs_used_perc /}% ${color0}
  |   |__${color0}${fs_used /mnt/storage} / ${fs_free /mnt/storage} / ${fs_size /mnt/storage} $alignr${fs_used_perc /mnt/storage}% ${color0}
  |  
  |___PROCESSES
  |   |__${color1}${top_mem name 1}${alignr}${top mem 1}% ${color0}
  |   |__${color1}${top_mem name 2}${alignr}${top mem 2}% ${color0}
  |   |__${color1}${top_mem name 3}${alignr}${top mem 3}% ${color0}
#  |   |__${color1}${top_mem name 3}${alignr}${top mem 4}% ${color0}
  |
  |___DISK I/O
  |   |__${color1}Read ${diskio_read /dev/sda1} ${alignr}${color1}${diskiograph_read 10,70} ${color0}
  |   |__${color1}Write ${diskio_write /dev/sda1} ${alignr}${color1}${diskiograph_write 10,70} ${color0}
  |  
  |___NETWORK
  |   |__DL ${color1}${downspeed enp0s7}/s ${alignr}${color1}${downspeedgraph enp0s7 12,70}${color0}
  |   |__UL ${color1}${upspeed enp0s7}/s ${alignr}${color1}${upspeedgraph enp0s7 12,70}${color0}
  |
  |___________${color1}/\\\\\\\\\\${color0}__        
    _________${color1}/\\\///////\\${color0}__       
     __${color1}/\\\${color0}__${color1}\///${color0}______${color1}/\\\${color0}__      
      _${color1}\///${color0}__________${color1}/\\\//${color0}___     
       __${color1}/\\\${color0}________${color1}\////\\\${color0}__    
        _${color1}\/\\\${color0}___________${color1}\//\\${color0}__   
         _${color1}\/\\\${color0}__${color1}/\\\${color0}______${color1}/\\\${color0}__  
          _${color1}\/\\\${color0}_${color1}\///\\\\\\\\\/${color0}___ 
           _${color1}\///${color0}____${color1}\/////////${color0}_____

13 Likes

[xfce4 + i3wm] My first (real) rice
#261

The Kilroy version on my laptop.

## i3_isfor_kilroy 

background no

# Window
own_window_argb_visual true
own_window_type override
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Graphics
double_buffer yes
override_utf8_locale yes
use_xft yes
xftfont DejaVu Sans Mono:size=12
xftalpha 1.0
update_interval 1
uppercase no
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

text_buffer_size 1028 # 256 is minimum
no_buffers yes
short_units yes
pad_percents 2
top_name_width 10

# Layout
alignment bl
gap_x 10
gap_y 35

minimum_size 120 5
maximum_width 400

color0 bbbbbb
color1 16A085

TEXT

${color1}
      \|/ ${color0}     
     (o o)     
-ooO--(_)--Ooo-
$color1${execi 999999 lsb_release -ds}$color0
  |   |___$color1${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}${color0}
  |   |___$color1${kernel}${color0}
  |
  |___Time
  |   |__${color1}${time %A} ${alignr}${time %B %e}${color0}
  |   |__Current Time ${color1}${alignr}${time %l:%M %p}${color0}
  |   |__Uptime ${color1}${alignr}${uptime_short}${color0}
  |
  |___CPU ${color1}${hwmon 0 temp 1}Β°C ${color0}
  |   |__CPU1: ${color1}${cpu cpu1}% ${alignr}${cpubar cpu1 12,70}${color0}
  |   |__CPU2: ${color1}${cpu cpu2}% ${alignr}${cpubar cpu2 12,70}${color0}
  |      
  |___RAM ${color1}${mem} / ${memfree} / ${memmax} ${alignr}${memperc}% ${color0}
  |		
  |___HDD
  |   |__${color1}${fs_used /} / ${fs_free /} / ${fs_size /} $alignr${fs_used_perc /}% ${color0}
  |   |__${color0}${fs_used /mnt/sda4} / ${fs_free /mnt/sda4} / ${fs_size /mnt/sda4} $alignr${fs_used_perc /mnt/sda4}% ${color0}
  |  
  |___PROCESSES
  |   |__${color1}${top_mem name 1}${alignr}${top mem 1}% ${color0}
  |   |__${color1}${top_mem name 2}${alignr}${top mem 2}% ${color0}
  |   |__${color1}${top_mem name 3}${alignr}${top mem 3}% ${color0}
  |
  |___DISK I/O
  |   |__${color1}Read ${diskio_read /dev/sda1} ${alignr}${color1}${diskiograph_read 12,70} ${color0}
  |   |__${color1}Write ${diskio_write /dev/sda1} ${alignr}${color1}${diskiograph_write 12,70} ${color0}
  |  
  |___NETWORK
      |__DL ${color1}${downspeed wlp3s0}/s ${alignr}${color1}${downspeedgraph wlp3s0 12,70}
  i3 ${color0} |__UL ${color1}${upspeed wlp3s0}/s ${alignr}${color1}${upspeedgraph wlp3s0 12,70}${color0}
8 Likes

#262

conky.config = {
	alignment = 'tl',
	background = true,
	color2 = '839496',
	color3 = '5D7B86',
        color4 = '16A085',
	color5 = '606665',
	color6 = '595D40',
	color7 = '759AC9',
	color8 = 'cccccc',
	color9 = '95913E',
	cpu_avg_samples = 2,
	default_color = 'F9FAF9',
	double_buffer = true,
	font = 'adele-light:size=24',
	draw_shades = false,
	gap_x = 15,
	gap_y = 15,
	minimum_width = 120,
	no_buffers = true,
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	update_interval = 2.0,
	use_xft = true,
	short_units = true,
	uppercase = False,
}
conky.text = [[
${color4}${alignc}${font adele-light:size=32}${time %l:%M}
${alignc}${font ADELE-Light:pixelsize=22}${voffset -22}${time %A}
${alignc}${font ADELE-Light:pixelsize=42} ${time %d}  
${alignc}${font ADELE-Light:pixelsize=22}${voffset -22}${time %B}

${alignc}${uptime_short}
${alignc}$mem
${alignc}${hwmon 1 temp 2}Β°C
${font}
]]

Wallpaper: 1920x1080

4 Likes

#263

My cinnamon with your great conky:

2 Likes

#264

Thank you, i am honored. :blush:
One little tip, i switched to pamac to query the updates.

pamac checkupdates -aq | wc -l

This command includes AUR updates.

1 Like

#265

There’s a package in AUR that combines checkupdates with checkupdates-aur into checkupdates+aur which queries both Official repository and AUR without calling pacman.

No idea if better or worse but it works nice (I use that approach for my conky).

One could even split them and make two lines (if wanted) like:

Available Repository Updates: 0 Pckgs
Available AUR Updates: 2 Pckgs

1 Like

#266

This is my basic conky script.


^
Link to the script.

1 Like

#267

Want to have conky show up-to-date statistics from a pi-hole running on a raspberry pi?

Screenshot_2019-01-23_16-26-57

Add this snippet:

${execpi 300 curl pi.hole/admin/api.php | sed 's/.$//' > ~/.cache/pi.txt}${font :size=20:bold}${alignc}Pi-Hole stats:
#
#
${voffset 5}${exec awk -F '[:,]' '{print \
"Status:  "substr($32,2,length($32)-2)"\n" \
"Domains Blocked: "$2"\n" \
"DNS Queries Today: "$4"\n" \
"Queries Blocked: "$6 " - (" int($8)"%)\n" \
"Queries Forwarded: "$12"\n" \
"Queries Cached: "$14"\n" \
"Unique Clients: "$18'} ~/.cache/pi.txt}

Run the curl command from your terminal, and you can see the info you can choose from.

2 Likes

Substring dos not work in my conky
#269

Kind of an old classic, but still works so well.

Script :

conky.config = {
	use_xft = true,
	font = '123:size=8',
	xftalpha = 0.1,
	update_interval = 1,

	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = false,
	own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
	own_window_argb_visual = true,
	own_window_argb_value = 0,

	--own_window = false,
	--own_window_type = 'override',
	--own_window_transparent = true,
	--own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	double_buffer = true,

	alignment = 'top_left',
	gap_x = 60,
	gap_y = 300,
	minimum_width = 250,
	minimum_height = 200,
	maximum_width = 750,

	draw_shades = false,
	draw_outline = false,
	draw_borders = false,

	no_buffers = true,
	cpu_avg_samples = 2,
	net_avg_samples = 1,
	override_utf8_locale = true,

	color0 = 'EAEAEA',
	color1 = 'FFA300',
};

conky.text = [[
${voffset 10}${color0}${font GE Inspira:pixelsize=120}${time %H:%M}${font}${voffset -84}${offset 10}${color1}${font GE Inspira:pixelsize=42}${time %d} ${voffset -15}${color0}${font GE Inspira:pixelsize=22}${time  %B} ${time %Y}${font}${voffset 24}${font GE Inspira:pixelsize=58}${offset -148}${time %A}${font}
${voffset 1}${offset 12}${font Ubuntu:pixelsize=10}${color1}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color1}RAM ${offset 9}$color$mem / $memmax${offset 30}${color1}CPU ${offset 9}$color${cpu cpu0}%
]];

3 Likes

#270

This is like one of the most satisfying desktops I have ever seen!

1 Like

#271

Blockquote

isfor_i3_Ameneurosis

background no

Window

own_window_argb_visual true
own_window_type default
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

Graphics

double_buffer yes
override_utf8_locale yes
use_xft yes
xftfont DejaVu Sans Mono:size=10
xftalpha 1.0
update_interval 1
uppercase no
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

text_buffer_size 1028 # 256 is minimum
no_buffers yes
short_units yes
pad_percents 2
top_name_width 10

Layout

alignment mr
gap_x 55
gap_y 16

minimum_size 120 5
maximum_width 400

color0 847064
color1 c28c73
color2 73a9c2

TEXT

${color2}
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
${goto 24}${color0}${execi 10000 awk -F= β€˜/TION/ {print $2}’ /etc/lsb-release |sed β€˜s/"//g’}${color0}
| |___${color1}${execi 10000 awk -F= β€˜/EASE=/ {printf $2" "} /NAME/ {print $2}’ /etc/lsb-release}${color0}
| |___${color1}${kernel}${color0}
|
|_Time
| |
${color1}${time %A} ${alignr}${time %B %e}${color0}
| |__Current Time ${color1}${alignr}${time %l:%M %p}${color0}
| |__Uptime ${color1}${alignr}${uptime_short}${color0}
|
|___CPU ${color1}${hwmon 1 temp 1}Β°C ${color0}
| |__CPU1: ${color1}${cpu cpu1}% ${alignr}${cpubar cpu1 12,70}${color0}
| |__CPU2: ${color1}${cpu cpu2}% ${alignr}${cpubar cpu2 12,70}${color0}
| |__CPU3: ${color1}${cpu cpu3}% ${alignr}${cpubar cpu3 12,70}${color0}
| |__CPU4: ${color1}${cpu cpu4}% ${alignr}${cpubar cpu4 12,70}${color0}
| |__CPU5: ${color1}${cpu cpu5}% ${alignr}${cpubar cpu5 12,70}${color0}
| |__CPU6: ${color1}${cpu cpu6}% ${alignr}${cpubar cpu6 12,70}${color0}
| |CPU7: ${color1}${cpu cpu7}% ${alignr}${cpubar cpu7 12,70}${color0}
| |CPU8: ${color1}${cpu cpu8}% ${alignr}${cpubar cpu8 12,70}${color0}
|
|RAM ${color1}${mem} / ${memfree} / ${memmax} ${alignr}${memperc}% ${color0}
|
|HDD
| |
${color1}${fs_used /} / ${fs_free /} / ${fs_size /} $alignr${fs_used_perc /}% ${color0}
| |
${color1}${fs_used /home} / ${fs_free /home} / ${fs_size /home} $alignr${fs_used_perc /home}% ${color0}
|
|PROCESSES
| |
${color1}${top_mem name 1}${alignr}${top mem 1}% ${color0}
| |
${color1}${top_mem name 2}${alignr}${top mem 2}% ${color0}
| |
${color1}${top_mem name 3}${alignr}${top mem 3}% ${color0}
| |
${color1}${top_mem name 4}${alignr}${top mem 4}% ${color0}
|
|DISK I/O
| |
${color1}Read ${diskio_read /dev/sda1} ${alignr}${color1}${diskiograph_read 10,70} ${color0}
| |
${color1}Write ${diskio_write /dev/sda1} ${alignr}${color1}${diskiograph_write 10,70} ${color0}
|
|___NETWORK
| |__DL ${color1}${downspeed wlp2s0}/s ${alignr}${color1}${downspeedgraph wlp2s0 12,70}${color0}
| |__UL ${color1}${upspeed wlp2s0}/s ${alignr}${color1}${upspeedgraph wlp2s0 12,70}${color0}
|
|___UPDATES
| |__pacman ${color1}${execpi 3600 checkupdates | awk β€˜END { print (NR == 0 ? β€œSystem up to date” : NR " package" (NR > 1 ? β€œs” : β€œβ€)); }’}${color0}
|
|___WIRELESS ${color1}${wireless_essid}

6 Likes

#272

Just in case anyone is interested, here is the info on the two conkys I used on this build:

Both of them are on Deviantart

Conky Clock

cowon_conky_by_bigrza-d3fklkr

Conky Gauges

silver_conky_by_giancarlo64-d5fvcwk

4 Likes

split this topic #273

3 posts were split to a new topic: Conky syntax - what am I missing

0 Likes

#274

Hi! I really like this wallpaper, is it available somewhere? Thanks!

0 Likes

#275

I wonder if you refer to Manjaro_System2x or something else …
See here all my so called wallpapers


inside Manjaro folder.

3 Likes

#276

Yes that’s the one I was referring to, by the way all your wallpapers look really cool! Thanks for sharing!

1 Like

#277

Wow! Just found your Manjaro_organic Wallpaper and made it immediately my new background! Thanks for sharing!
And I like your drawings (Star Wars)! You’ve got talent! :clap:

2 Likes

#278

This is my conky, nice and simple.

14 Likes

#279

I like that lots, would you consider sharing?

thanks

2 Likes