Conky thread, show your work!

how-to
conky

#178

Hi Manjaroooos, it’s Sunday and I was bored again, so I created a modular conky, based on the previous I posted here.
I basically took any peace of the conky into a own conkyrc, which in sum makes
12 conkyrc files.
Colors can be changed in each conkyrc by setting them in default_color and color1
I recommend to use conky manager if you really consider to try my mess :joy:

clock.conkyrc
alignment top_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 130
gap_y 55
TEXT
${voffset }${offset 20}${font Bauhaus:size=70} ${time %H}${color1}
${voffset }${offset 70}${font Bauhaus:size=70}${time %M}${color1}
${voffset -161}${offset 30}${font Bauhaus:size=16} ${time %A} ${color}${voffset }${offset }${time %d %b }
release.conkyrc
alignment top_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 70
gap_y 210
TEXT
${voffset -20}${color FFFFFF}${font DejaVu Sans Mono:size=2}${execi 130000 screenfetch -L -N  | sed 's/^/\t/' | sed 's/ *$//'}${color}
${color}${font Bauhaus:size=25}${voffset -50}${offset 90}${execi 130000 lsb_release -d | cut -f 2| tr "[:upper:]" "[:lower:]"}${color}
${font Bauhaus:size=10}${voffset -10}${offset 80}Edition: ${color1}${font Bauhaus:size=10}${execi 130000 awk -F= '/ID=/{printf $2" "} /RELEASE=/{printf $2" "} /NAME=/{print $2}' /etc/lsb-release}
${color1}${voffset }$hr$
cpuinfo.conkyrc
alignment top_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 70
gap_y 285
TEXT
${font Bauhaus:size=13} ${color }${execi 130000 cat /proc/cpuinfo | grep 'model name' | cut -c 14-19 | uniq}${execi 130000 cat /proc/cpuinfo | grep 'model name' | cut -c 24-51 | uniq}
${alignc}${machine}${color1} @ $freq(MHz)${color}
${color1}${voffset -5}$hr$
nvidia-info.conkyrc
alignment middle_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 80
gap_y 180
TEXT
${alignc}${voffset 5}${color}${font Bauhaus:size=13}Nvidia ${execi 130000 nvidia-settings -q gpus | grep '0] (' | cut -d '(' -f 2,2 | sed -e 's/.\{1\}$//'} 
${alignc}${offset }Nvidia Driver ${color1}${execi 130000 nvidia-settings -q NvidiaDriverVersion -t | grep -m 1 ""}${color1} @ ${nvidia gpufreq}(MHz)
${color1}${voffset -5}$hr$
updates.conkyrc
alignment middle_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 85
gap_y 140
TEXT
${alignc}${color1}${offset }${voffset 5}${font Webdings:size=14}d ${font Bauhaus:size=13}${color}Updates ${color1}${execi 130000 cat /etc/pacman-mirrors.conf | grep -i "Branch =" | sed -E "s/(# )*Branch = //g"} ${color}Branch:${offset 10}${color1}${execi 1800 checkupdates | wc -l}
${color1}${voffset -5}$hr$
sysinfo.conkyrc
alignment middle_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 102
gap_y 85
TEXT
${font Bauhaus:size=13}${voffset }Kernel: ${color1}${kernel}${color}
Uptime: ${color1}$uptime_short${color}
# Power: ${color1}${battery_percent BAT0}%${color}
LOCAL IP: ${color1}${addr eno1}${color}
#Public IP: ${color1}${execi 3600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${color}
${color1}${voffset -5}$hr$
cpu-gpu-temp.conkyrc
alignment middle_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 82
gap_y 25
TEXT
${voffset}CPU temp: ${color1}${hwmon 1 temp 1}${font DejaVu Sans:size=13}${voffset -4}°C${color}${font Bauhaus:size=13}${alignr}  Fan: ${color1}${hwmon 2 fan 2}RPM${color}
#GPU temp: ${color1}${execi 10 nvidia-smi -q -d TEMPERATURE | awk '/GPU Current Temp/ {print $5}'}${font DejaVu Sans:size=13}${voffset -4}°C ${color}${offset 5}${font Bauhaus:size=13}${alignr}Fan: ${color1}${execi 10 nvidia-settings -tq [fan:0]/GPUCurrentFanSpeed}%${color}
${color1}${voffset -5}$hr$
cpu-ram-info.conkyrc
alignment middle_right
background yes
update_interval 1
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 70
gap_y -45
TEXT
${font Bauhaus:size=13}
#VRAM: ${color1}${exec nvidia-smi --query-gpu=memory.used --format=csv,noheader} / ${exec nvidia-smi --query-gpu=memory.total --format=csv,noheader}${color}
RAM: ${color1}$mem / $memmax$alignr${color CF2765}${membar 10,60 }${color}
Swap: ${color1}${swap}/ ${swapfree}${color}$alignr${color CF2765}${swapbar 10,60 }${color}
CPU: ${color1}${cpu cpu0}%${color}${alignr}${color CF2765}${cpugraph 18,200 CF2765 CF2765}${color}
${color1}${voffset }$hr$
network.conkyrc
alignment middle_right
background yes
update_interval 1
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 85
gap_y -150
TEXT
${font Bauhaus:size=13}
# Signal: ${color1}${wireless_link_qual eno1}%${color} 
${font PizzaDude Bullets:size=13}O ${font Bauhaus:size=13} Upload: ${color 0CACF0}${upspeed eno1}${color F00CA0}
${offset 40}Total Sent: ${color1}${totalup eno1}${color}
${upspeedgraph eno1 18,210 CF2765 CF2765}${color}
${voffset 10}${font PizzaDude Bullets:size=13}U ${font Bauhaus:size=13} Download: ${color 0CACF0}${downspeed eno1}${color F00CA0}
${offset 40}Total Received: ${color1}${totaldown eno1}${color}
${downspeedgraph eno1 18,200 CF2765 CF2765}
${color1}${voffset }$hr$
disk-info.conkyrc
alignment bottom_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 75
gap_y 165
TEXT
${font Bauhaus:size=13}
Home: ${color1}${fs_used /}/${fs_size /}${alignr}${color CF2765}${fs_bar 10,60 /}
${offset 55}${color1}${fs_free /} free${color}
${voffset 5}SSD:${offset 20}${color1}${fs_used /mnt/sda5}/${fs_size /mnt/sda5}${alignr}${color CF2765}${fs_bar 10,60 /mnt/sda5}
${offset 55}${color1}${fs_free /mnt/sda5} free${color}
${voffset 5}${color1}Read: $color${diskio_read}$alignr${color1}Write: $color${diskio_write}
${diskiograph 18,200 CF2765 CF2765}
${color1}${voffset }$hr$
process-cpu-usage.conkyrc
alignment bottom_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 215
gap_y 60
TEXT
${font Bauhaus:size=13}
${color}Process ${color}${alignr}CPU%
${color1}${top name 1}${alignr}${top cpu 1}
${color1}${top name 2}${alignr}${top cpu 2}
${color1}${top name 3}${alignr}${top cpu 3}
${color1}${top name 4}${alignr}${top cpu 4}
#${color1}${top name 5}${alignr}${top cpu 5}
#${color1}${top name 6}${alignr}${top cpu 6}
${color1}${voffset -5}$hr$
process-ram-usage.conkyrc
alignment bottom_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0

########
# Code #
########
own_window_colour 000000
gap_x 15
gap_y 60
TEXT
${font Bauhaus:size=13}
${color}Process ${color}${alignr}RAM
${color1}${top_mem name 1}${alignr}${top_mem mem_res 1}
${color1}${top_mem name 2}${alignr}${top_mem mem_res 2}
${color1}${top_mem name 3}${alignr}${top_mem mem_res 3}
${color1}${top_mem name 4}${alignr}${top_mem mem_res 4}
#${color1}${top_mem name 5}${alignr}${top_mem mem_res 5}
${color1}${voffset -5}$hr$

Edit: Commented the GPU temp & fan in cpu-gpu-temp.conkyrc because it was made for nvidia cards. Feel free to uncomment it if you use nvidia :slight_smile:

Edit2: I forgot to mention the most important part of this conky, which is @muser’s awesome wallpaper that he made. :blush:


#179

Very nice work pux. I was disappointed when you nixed the first post, I haden’t read much yet.
Now I see why!
Excellent love the clickable code drop downs. Dude write a tutorial, please.

Thank you.


#180

Thank you :slight_smile:

Would you mind to elaborate what kind of tutorial you have in mind?


#181

Well a good one of course. That’s to be expected of someone of your calibre. :grin:
As for a tutorial, take it as a compliment… in reality there are 2 subjects here.

  1. For the drop-downs (nice) I need to learn more of markdown .
  2. I should read up on multiple conky 's.

I just use one, more minimal conky . It works for me.
If you wanted to write a tutorial on creating and integrating multiple conky’s, as you term them,

In your spare time of course! :roll_eyes:

I admire your work
thanks again…


#182

Thank you for the kind words, I will try to explain my thoughts as good as I can :smiley:
Sorry that I didn’t think about it in the first place.

The original idea was to have, let’s say a “feature complete” conky with almost all relevant info and a “more modern” look, without to rely on lua scripts. But because we all have different preferences and setups, I thought it would be a good idea to make it more modular, so it can be easy adjusted to every screen size and wanted piece of info ( if you don’t have nvidia for example, you simply don’t start the nvidia-info.conkyrc).

This conky setup should be used with conky-manager (available in the community repo)

1- Install conky-manager with your preferred GUI or via command line.

2- Create a folder called .conky in your /home/$user/ directory

3- Inside of this folder create a folder called crazy-conky (or what ever name you like) :wink:

4- For each provided conkyrc above, you will need to make a *.conyrc file inside of the crazy-conky folder and paste the code. At the end you should have 12 conkyrc files in this folder which should look like this.

5- Open Conky Manager and you should be able to see all your 12 created conkys in it like here.

6- By selecting a conkyrc and pressing the play button, or double click, it should start.
As you can see in the picture all 12 conkys are running.

7- The layout in my post above is build up in the same chronological way like the conkyrc’s are posted. On a 1920x1080 monitor. Means that depending on your screen size, you will have to adjust each conky in the gui settings via “edit Widged”. Or place it where ever you like :wink:

8- To change colors, you will have to do that separately for each conkyrc by setting them in default_color and color1 (lines 50 and 51)

9- To auto-start the conky’s with your machine, click the Application Settings button and enable the option.

I hope I didn’t forget something :upside_down_face:


For the drop-downs, I do it the lazy way. Click on the wheels icon in the reply and then on Hide Details


After pasting the code in the “This text will be hidden” field I mark it and click on the Preformatted text button.

Hope that helps!


#183

Excellent reply pux, thank you so much for the lessons.
Bookmarked.

Oh!

That is simple...:sweat_smile:


#184

If not yet available here for NVIDIA :wink:
GPU/Power max for GTX 1060, I hope :slight_smile:

DeepinBildschirmfoto_Bereich%20ausw%C3%A4hlen_20180429175703

Copy&Paste nvidia-info.conkyrc @pux and Remainder stuff @SGS
alignment middle_right
background yes
update_interval 3
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
#text_buffer_size 10240
imlib_cache_size 0

###########
# Windows #
###########
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 0 0
maximum_width 300

############
# Graphics #
############
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
 
########
# Text #
########
use_xft yes
xftalpha 0.8
 
uppercase no
 
default_color F00CA0
color1 0CACF0
color3 888888
color4 EF5A29
########
# Code #
########
own_window_colour 000000
gap_x 80
gap_y 180
TEXT
${voffset 5}${goto 95}${font Play:bold:size=9}${color2}${voffset -2}${font Play:bold:size=12}${color3}${offset 0}Graphics card: ${goto 95}${font Play:bold:size=12}${alignr}${color4}${exec nvidia-smi -q -a | grep -Eo 'GTX .+'}${color3}${font}
${voffset 5}${goto 95}${font Play:bold:size=9}${color2}${voffset -2}${font Play:bold:size=12}${color3}${offset 0}Driver ${execi 130000 nvidia-settings -q NvidiaDriverVersion -t | grep -m 1 ""}${color1}${alignr}${color4} @ ${nvidia gpufreq}(MHz)
${voffset 5}${goto 95}${font Play:bold:size=9}${color2}${voffset -2}${font Play:bold:size=12}${color3}${offset 0}Fan Speed: ${goto 95}${font Play:bold:size=12}${alignr}${color4}${exec nvidia-smi | grep -Eo '...%.+?W' | awk '{print $1}'}${color3}${font}
${voffset 5}${goto 95}${font Play:bold:size=9}${color2}${voffset -2}${font Play:bold:size=12}${color3}${offset 0}GPU temp / max: ${goto 95}${font Play:bold:size=12}${alignr}${color4}${exec nvidia-smi | grep -Eo '...%.+?W' | awk '{print $2}'}${color3} / 94°C${font}
${voffset 5}${goto 95}${font Play:bold:size=9}${color2}${voffset -2}${font Play:bold:size=12}${color3}${offset 0}Perf level: ${goto 95}${font Play:bold:size=12}${alignr}${color4}${exec nvidia-smi | grep -Eo '...%.+?W' | awk '{print $3}'}${color3}${font}
${voffset 5}${goto 95}${font Play:bold:size=9}${color2}${voffset -2}${font Play:bold:size=12}${color3}${offset 0}Power use/max: ${goto 95}${font Play:bold:size=12}${alignr}${color4}${exec nvidia-smi | grep -Eo '...%.+?W' | awk '{print $4}'}${color3} / 120W${font}

#185

I agree !

For me too

Very simple and cool !


#186

Hello guys, this is my first conky, changing a bit the Aureola-skeleton

, I hope you like it. The files are in this link.


#187

ratio % for home is False : 96 / 667 never give 80% (good 14,39% )


#188

It can be a bit confusing, however it is correct:

  • 80% represents the used space percentage of /home.
  • The 96.6G / 49.0G values represent: user_available_space/total_space
  • taking into account the space reserved for root (in my case ~ 5%), then
  • (96.6 + 34.4) /667=0.196 ~ 20% of total free space
  • or 80% of total space used.

#189

its not mine but i would like to share with you some cool setups

*Edit

i tried to edit the “Flea” Theme for conky but i got two issues.
first one is the background will not be transparent. second is the text “es ist” is green, but normally the Date should be green the 5 or Mai does not matter.

--[[
#=====================================================================================
#                               
# Date    : 06/07/2017
# name    : Flea
# Author  : Adhi Pambudi
#           https://plus.google.com/+AdhiPambudi
#           https://addy-dclxvi.deviantart.com
#			https://github.com/addy-dclxvi
# Editor  : Adhi Pambudi
# Version : v0.01
# License : Distributed under the terms of GNU GPL version 2 or later
#=====================================================================================
]]


conky.config = {
--##  Begin Window Settings  #####################
own_window = true,
own_window_type = 'normal',
own_window_transparent = no,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Flea Conky',
--## ARGB can be used for real transparency
--## NOTE that a composite manager is required for real transparency.
--## This option will not work as desired (in most cases) in conjunction with
--## own_window_type normal
-- own_window_argb_visual yes # Options: yes or no

--## When ARGB visuals are enabled, this use this to modify the alpha value
--## Use: own_window_type normal
--## Use: own_window_transparent no
--## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
-- own_window_argb_value 0

minimum_width = 800, 
minimum_height = 250,
maximum_width = 800,

gap_x = 0,--## left | right
gap_y = 0,--## up | down

alignment = 'middle_middle',
--######################  End Window Settings  ###
--##  Font Settings  #############################
-- Use Xft (anti-aliased font and stuff)
use_xft = true,
font = 'Roboto Regular:thin:size=22',


-- Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha = 1,
-- Force UTF8? requires XFT ###
override_utf8_locale = true,

uppercase = true,
--########################  End Font Settings  ###
--##  Colour Settings  ###########################
draw_shades = false,--yes
default_shade_color = 'black',

draw_outline = false,-- amplifies text if yes
default_outline_color = 'black',

default_color = '#ffffff',-- White
color1 = '#bf616a',-- Red
color2 = '#a3be8c',-- Green
color3 = '#ebcb8b',-- Yellow
color4 = '#81a1c1',-- Blue
color5 = '#b48ead',-- Magenta
color6 = '#88c0d0',-- Cyan
--######################  End Colour Settings  ###
--##  Borders Section  ###########################
draw_borders = false,
-- Stippled borders?
stippled_borders = 5,
-- border margins
border_inner_margin = 40,
border_outer_margin = 0,
-- border width
border_width = 2,
-- graph borders
draw_graph_borders = true,--no
--default_graph_size 15 40
--#######################  End Borders Secton  ###
--##  Miscellaneous Section  #####################
-- Boolean value, if true, Conky will be forked to background when started.
background = true,
-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
use_spacer = 'none',

-- Default and Minimum size is 256 - needs more for single commands that
-- "call" a lot of text IE: bash scripts
--text_buffer_size 6144

-- Subtract (file system) buffers from used memory?
no_buffers = true,

-- change GiB to G and MiB to M
short_units = true,

-- Like it says, ot pads the decimals on % values
-- doesn't seem to work since v1.7.1
pad_percents = 2,

-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
-- imlib_cache_size = 0,

-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
double_buffer = true,

--   Maximum size of user text buffer, i.e. layout below TEXT line in config file
--  (default is 16384 bytes)
-- max_user_text 16384

-- Desired output unit of all objects displaying a temperature. Parameters are
-- either "fahrenheit" or "celsius". The default unit is degree Celsius.
-- temperature_unit Fahrenheit
--################  End Miscellaneous Section  ###

update_interval = 1,

};

conky.text = [[
${alignc}${font Roboto Regular:thin:size=16}Hallo,\
${font Roboto Regular:size=16} ${color4}${execi 60 whoami}!${color}${font}
${voffset 10}${alignc}Heute ist ${color5}${time %A}${color}${font}, der \
${time %B} ${color2}${time %-d}${color}${font} \
es ist ${color1}${time %H:%M}${color}${font}
${voffset 20}${alignc}${font Roboto Regular:thin:size=20}Heute wird es ${execi 1800 ~/.config/conky/flea/res/weather}
${voffset 20}${alignc}${font Roboto Regular:thin:size=16}${execi 1800 ~/.config/conky/flea/res/weather -t}
]];

im using gnome-shell also how can i add the conky-script to startup on gnome?
other question if i hide all windows the text also hides. is there any trick that the conky-script will be shown the whole time?


#190

The above shows you what to do. Set own_window_argb_value to 255 for full background transparency.


#191

does not work :frowning:


#192
own_window_argb_value = 0,

#193

With the help of @SGS its done

i changed some colors

--[[
#=====================================================================================
#                               
# Date    : 06/07/2017
# name    : Flea
# Author  : Adhi Pambudi
#           https://plus.google.com/+AdhiPambudi
#           https://addy-dclxvi.deviantart.com
#			https://github.com/addy-dclxvi
# Editor  : Adhi Pambudi
# Version : v0.01
# License : Distributed under the terms of GNU GPL version 2 or later
#=====================================================================================
]]


conky.config = {
--##  Begin Window Settings  #####################
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
--#own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Flea Conky',
--## ARGB can be used for real transparency
--## NOTE that a composite manager is required for real transparency.
--## This option will not work as desired (in most cases) in conjunction with
--## own_window_type normal
own_window_argb_visual = true, 

--## When ARGB visuals are enabled, this use this to modify the alpha value
--## Use: own_window_type normal
--## Use: own_window_transparent no
--## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
own_window_argb_value = 0,

minimum_width = 800, 
minimum_height = 250,
maximum_width = 800,

gap_x = 0,--## left | right
gap_y = 0,--## up | down

alignment = 'middle_middle',
--######################  End Window Settings  ###
--##  Font Settings  #############################
-- Use Xft (anti-aliased font and stuff)
use_xft = true,
font = 'Roboto Regular:thin:size=22',


-- Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha = 1,
-- Force UTF8? requires XFT ###
override_utf8_locale = true,

uppercase = true,
--########################  End Font Settings  ###
--##  Colour Settings  ###########################
draw_shades = false,--yes
default_shade_color = 'black',

draw_outline = false,-- amplifies text if yes
default_outline_color = 'black',

default_color = '#ffffff',-- White
color1 = '#ff007a',-- Red
color2 = '#84ff39',-- Green
color3 = '#ebcb8b',-- Yellow
color4 = '#81a1c1',-- Blue
color5 = '#f3d56e',-- Magenta
color6 = '#88c0d0',-- Cyan
--######################  End Colour Settings  ###
--##  Borders Section  ###########################
draw_borders = false,
-- Stippled borders?
stippled_borders = 5,
-- border margins
border_inner_margin = 40,
border_outer_margin = 0,
-- border width
border_width = 2,
-- graph borders
draw_graph_borders = true,--no
--default_graph_size 15 40
--#######################  End Borders Secton  ###
--##  Miscellaneous Section  #####################
-- Boolean value, if true, Conky will be forked to background when started.
background = true,
-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
use_spacer = 'none',

-- Default and Minimum size is 256 - needs more for single commands that
-- "call" a lot of text IE: bash scripts
--text_buffer_size 6144

-- Subtract (file system) buffers from used memory?
no_buffers = true,

-- change GiB to G and MiB to M
short_units = true,

-- Like it says, ot pads the decimals on % values
-- doesn't seem to work since v1.7.1
pad_percents = 2,

-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
-- imlib_cache_size = 0,

-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
double_buffer = true,

--   Maximum size of user text buffer, i.e. layout below TEXT line in config file
--  (default is 16384 bytes)
-- max_user_text 16384

-- Desired output unit of all objects displaying a temperature. Parameters are
-- either "fahrenheit" or "celsius". The default unit is degree Celsius.
-- temperature_unit Fahrenheit
--################  End Miscellaneous Section  ###

update_interval = 1,

};

conky.text = [[
${alignc}${font Roboto Regular:thin:size=16}Hallo,\
${font Roboto Regular:size=16} ${color4}${execi 60 whoami}!${color}${font}
${voffset 10}${alignc}Heute ist ${color5}${time %A}${color}${font}, der \
${color2}${time %-d} ${time %B}${color}${font} \
es ist ${color1}${time %H:%M}${color}${font}
${voffset 20}${alignc}${font Roboto Regular:thin:size=20}Heute wird es ${execi 1800 ~/.config/conky/flea/res/weather}
${voffset 20}${alignc}${font Roboto Regular:thin:size=16}${execi 1800 ~/.config/conky/flea/res/weather -t}
]];

original can be found here


#194

I forgot you needed to unmention it, remove the –


#195
  • To avoid hiding the text you need to modify this option (it may not work in some DE): own_window_type = ‘desktop’
    For the auto start of the conky script my preferred option is to create a scritp from which I start all the conky instances that I need.
    Create a file called .conky-start.sh in your home and enter this code:

#! / bin / sh
sleep 5
conky -q -c “path to your conkyrc” & # add many lines as your need
conky -q -c “path to other conkyrc” & exit

  • Allow execution:
    chmod + x .conky-start.sh
    Finally add an entry for this file through the Startups Applications menu.

#196

perfect i looked around to find a solution that my script will not auto-hide if i hide all windows.

thank you :slight_smile:


#197

Hope you don’t mind but I copied it and am using it on my laptop. Changed a few things to better suit my needs (and the computers). It’s a great Conky.