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

0 Members and 3 Guests are viewing this topic.

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #570 on: 31. March 2016, 13:25:57 »
@fatboy I suspect it has to do somehow with the xft settings. Combination of old syntax, new fontconfig package, ... :P
Let's continue this discussion in the update thread, please: https://forum.manjaro.org/index.php?topic=32586.msg266284#msg266284
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline Fatboy

  • Sr. Mitglied
  • ****
  • Posts: 323
  • "Spiral out. Keep going..."
  • Branch: stable
  • Desktop: Xfce, KDE plasma 5
  • GPU Card: nVidia GeForce 210
  • GPU driver: 340.xx
  • Kernel: Manjaro Kernel 4.4 LTS
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #571 on: 31. March 2016, 13:27:18 »
@oberon Will do, thanks!
"I'm reaching for the random or whatever will bewilder me. Whatever will bewilder me."

Offline optics

  • Jr. Mitglied
  • **
  • Posts: 96
  • ŏp'tĭks
  • Branch: unstable
  • Desktop: ℵfce
  • GPU Card: Intel HD4400 + Radeon HD8550M
  • GPU driver: intel-ati-bb
  • Kernel: 4.6
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #572 on: 01. April 2016, 12:51:27 »
My current conky is very minimal, just how I like it  8)
You will need to modify gap_x as it's set for my weird dual monitor setup.
Code: [Select]

conky.config = {
--======================
-- opticonk
--======================


--#settings##
background = true,
cpu_avg_samples = 1,
--default_bar_size 85 2
default_graph_width = 200, default_graph_height = 112,
diskio_avg_samples = 10,
double_buffer = true,
extra_newline = false,
if_up_strictness = 'address',
net_avg_samples = 1,
no_buffers = true,
temperature_unit = 'celsius',
text_buffer_size = 2048,
short_units = true,
update_interval = 1,


--#position##
alignment = 'top_right',
gap_x = 1923,
gap_y = -3,
minimum_width = 220, minimum_height = 205,
maximum_width = 220,


--#borders##
border_inner_margin = 0,
border_outer_margin = 8,
border_width = 0,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,


--#window##
own_window = true,
own_window_argb_value = 100,
own_window_argb_visual = true,
--own_window_class systemConky
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
--own_window_type desktop
own_window_type = 'dock',
--own_window_transparent yes
--own_window_title system_conky


--#font##
max_text_width = 0,
override_utf8_locale = true,
uppercase = false,
use_spacer = 'no',
use_xft = true,
font = 'Terminus:size=9',


--#colors##
default_color = '#23cba9',
default_outline_color = '#000',
default_shade_color = '#000',
own_window_colour = '#000',
own_window_transparent = true,


};


conky.text = [[
${font Terminus:size=27}${alignr}${time %l}:${time %M%P}${font}
${voffset 5}${font Terminus:size=10}${color 4faae3}${alignr}${time %A} ${time %B} ${time %e} ${time %Y}${color}${font}
${voffset 2}${color 4faae3}${color} ${alignr}${nodename}
${voffset 1}${color 4faae3}${color}${alignr}${execi 5000 awk -F= '/ID=/{printf $2" "} /RELEASE=/{printf $2" "} /NAME=/{print $2}' /etc/lsb-release}
${voffset 1}${color 4faae3}${color} ${alignr}${exec uname -r}
${voffset 1}${color 4faae3}uptime${color} ${alignr}${uptime_short}
${voffset 1}${color 4faae3}cpu freq${color} $alignr${freq}MHz
${voffset 1}${color 4faae3}cpu core 0${color} $alignr${execi 10 sensors | grep 'Core 0' | awk {'print $3'}}
${voffset 1}${color 4faae3}ram${color} ${alignr}${mem}/${memmax}
${voffset 1}${color 4faae3}hdd${color} ${alignr}${fs_used /}/${fs_size /}
${voffset 1}${cpugraph 8,220 4faae3 23cba9}
${voffset 1}${color 4faae3}io read${color} ${alignr}${offset -10}${diskio_read sda}${alignr}${diskiograph_read sda 8,112 23cba9 4faae3}
${voffset 1}${color 4faae3}io write${color} ${alignr}${offset -10}${diskio_write sda}${alignr}${diskiograph_write sda 8,112 23cba9 4faae3}
${voffset 1}${color 4faae3}lan down${color} ${alignr}${offset -10$}${downspeed enp8s0}${alignr}${downspeedgraph enp8s0 8,112 23cba9 4faae3}
${voffset 1}${color 4faae3}lan up${color} ${alignr}${offset -10$}${upspeed enp8s0}${alignr}${upspeedgraph enp8s0 8,112 23cba9 4faae3}
]];
« Last Edit: 14. April 2016, 16:51:05 by optics »

Offline Elrondo47

  • Jr. Mitglied
  • **
  • Posts: 66
  • Yo L4m4s :)
  • Branch: stable
  • Desktop: KDE Plasma 5x
  • GPU Card: Nvidiot GeForce GTX 970
  • GPU driver: non-free
  • Kernel: 4.4
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #573 on: 06. April 2016, 08:16:52 »
That's my conky

conkybar-manjaro-amdfx



To download it go to my github :)
https://github.com/Elrondo46/conkybar-manjaro-amdfx

Offline Fatboy

  • Sr. Mitglied
  • ****
  • Posts: 323
  • "Spiral out. Keep going..."
  • Branch: stable
  • Desktop: Xfce, KDE plasma 5
  • GPU Card: nVidia GeForce 210
  • GPU driver: 340.xx
  • Kernel: Manjaro Kernel 4.4 LTS
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #574 on: 06. April 2016, 08:44:46 »
@Elrondo47 That is freakin' sweet! wow!
"I'm reaching for the random or whatever will bewilder me. Whatever will bewilder me."

Offline CyberWolf2k14

  • Held Mitglied
  • *****
  • Posts: 1184
  • Computers make very fast, very accurate mistakes.
  • Branch: Stable-sysd229-LightDM
  • Desktop: MATE/Cinnamon/GNOME
  • GPU Card: nVidia GeForce GT740
  • GPU driver: nVidia-NF-364.19
  • Kernel: 4.4.9x64 / 4.2.8.9x64 / 4.1.23x64
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #575 on: 20. April 2016, 05:17:38 »
My latest modified conky. Just made a number of "cosmetic changes" mainly.

Here is the code:

Code: [Select]
conky.config = {
background = true,
own_window = true,
own_window_transparent = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
alignment = 'top_right',
gap_x = 8,
gap_y = 10,
use_spacer = 'none',
update_interval = 1,
net_avg_samples = 2,
total_run_times = 0,
use_xft = true,
override_utf8_locale = true,
xftalpha = 0.95,
text_buffer_size = 2048,
uppercase = false,
double_buffer = true,
no_buffers = true,
draw_shades = false,
short_units = true,
color0 = 'FFFFFF',
color1 = '00FF00',
color2 = 'FF0000',
color3 = 'BA55D3',
color4 = '00BFFF',
color5 = 'FFA500',
color6 = 'BEBEBE',
color7 = 'FFFF00',
}
conky.text = [[
${font Inconsolata:size=16:bold}${color5}${alignc}${time %B} ${time %d}, ${time %Y}
${voffset -5}${font Inconsolata:size=14}${color0}${alignc}${time %A}
${color0}${voffset -8}${hr 3}
${voffset -7}${color7}${font Bookman URW:size=15:bold}${alignc}SYSTEM
${color0}${voffset -14}${hr 3}
${color1}${voffset -8}${font Inconsolata:size=16:bold}${alignc}Manjaro Linux
${color1}${voffset -2}${font Inconsolata:size=12}${alignc}${color0}v15.12${color5}${font Inconsolata:size=14:bold} Capella
${color0}${voffset -8}${hr 1}
${color0}${font Inconsolata:size=14:bold}KERNEL${font Inconsolata:size=12:bold}${alignr}${color1}${kernel}
${color0}${voffset -3}${hr 1}
${color0}${font Inconsolata:size=14:bold}UPTIME${alignr}${color1}${uptime}
${color0}${voffset -3}${hr 3}
${voffset -7}${color7}${font Bookman URW:size=15:bold}${alignc}DRIVES
${color0}${voffset -14}${hr 3}
${voffset -12}${color1}${font Inconsolata:size=14:bold}/ROOT(Free)${color0}${alignr}${fs_free /}
${color6}${voffset -7}${stippled_hr 1}
${voffset -6}${color7}${font Inconsolata:size=14:bold}/HOME(Free)${color0}${alignr}${fs_free /home}
${color0}${voffset -5}${hr 3}
${voffset -5}${color7}${font Bookman URW:size=15:bold}MEMORY${goto 115}${color5}${font Inconsolata:size=13:bold}${mem}${color1}/${memmax}
${color0}${voffset -4}${hr 3}
${voffset -4}${color7}${font Bookman URW:size=15:bold}SYSTEM ${color0}${font Inconsolata:size=14:bold}${alignr} ${hwmon temp 1} °C
${color0}${voffset -5}${hr 3}
${voffset -5}${color7}${font Bookman URW:size=15:bold}${alignc}CPU
${color0}${voffset -13}${hr 3}
${font Inconsolata:size=15:bold}
${voffset -30}${goto 0}${color7}Core 0:${font Inconsolata:size=14:bold}${color0}${alignr 30}${execi 30 sensors | grep 'Core 0:' | cut -c18-19}${font Inconsolata:size=14:bold}°C${alignr}${color0}${cpu cpu1}%
${color6}${voffset -8}${stippled_hr 1}
${font Inconsolata:size=15:bold}
${voffset -24}${goto 0}${color7}Core 1:${font Inconsolata:size=14:bold}${color0}${alignr 20}${execi 30 sensors | grep 'Core 1:' | cut -c18-19}${font Inconsolata:size=14:bold}°C${alignr -5}${color0}${cpu cpu2}%
${color6}${voffset -8}${stippled_hr 1}
${font Inconsolata:size=15:bold}
${voffset -24}${goto 0}${color7}Core 2:${font Inconsolata:size=14:bold}${color0}${alignr 20}${execi 30 sensors | grep 'Core 2:' | cut -c18-19}${font Inconsolata:size=14:bold}°C${alignr -5}${color0}${cpu cpu3}%
${color6}${voffset -8}${stippled_hr 1}
${font Inconsolata:size=15:bold}
${voffset -24}${goto 0}${color7}Core 3:${font Inconsolata:size=14:bold}${color0}${alignr 12}${execi 30 sensors | grep 'Core 3:' | cut -c18-19}${font Inconsolata:size=14:bold}°C${alignr -12}${color0}${cpu cpu4}% 
${color0}${voffset -6}${hr 3}
${voffset -8}${color7}${font Bookman URW:size=15:bold}GPU ${color0}${font Inconsolata:size=14:bold}${alignr}${execi 10 nvidia-smi -q -d TEMPERATURE | awk '/GPU Current Temp/ {print $5}'} °C
${color0}${voffset -8}${hr 3}
${voffset -6}${color7}${font Bookman URW:size=15:bold}${alignc}NETWORK
${color0}${voffset -12}${hr 3}
${voffset -12}${font Inconsolata:size=14:bold}${color2}UL_SPD:${alignr}${color0}${font Inconsolata:size=12:bold}${upspeed enp3s0}
${alignc}${upspeedgraph enp3s0 20,200 C71585 FF0000 60 -t -l}
${voffset -8}${font Inconsolata:size=14:bold}${color2}TTL_UL:${alignr}${color0}${font Inconsolata:size=12:bold}${totalup enp3s0}
${color6}${voffset -8}${stippled_hr 1}
${font Inconsolata:size=14:bold}${color1}DL_SPD:${alignr}${color0}${font Inconsolata:size=12:bold}${downspeed enp3s0}
${alignc}${downspeedgraph enp3s0 20,200 3CB371 00FF00 200 -t -l}
${voffset -8}${font Inconsolata:size=14:bold}${color1}TTL_DL:${alignr}${color0}${font Inconsolata:size=12:bold}${totaldown enp3s0}
${color0}${voffset -8}${hr 3}
]]

See attached image for appearance.
PowerSpec Quad core Intel Core i5-4690K w/ 16GB RAM
Dual Boot = Win 7 Ult x64 and Manjaro 15.12 x64
===================================================
"A computer lets you make more mistakes faster than any invention in human history...
with the possible exceptions of handguns and tequila".

Offline Kev.M

  • Jr. Mitglied
  • **
  • Posts: 50
  • Branch: Manjaro Stable + Arch Stable
  • Desktop: Xfce
  • GPU Card: Mesa DRI Intel(R) Sandybridge
  • GPU driver: Non-free
  • Kernel: 44 & 46
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #576 on: 04. May 2016, 11:43:39 »
Hi, can you share your conky config? Thanks

Ooops sorry,  these are for the clock
conkyrc
Code: [Select]
#==============================================================================
#                                 conkyrc_grey
#
#  author  : SLK
#  version : v2011011601
#  license : Distributed under the terms of GNU GPL version 2 or later
#
#==============================================================================
background yes
cpu_avg_samples 1
diskio_avg_samples 10
double_buffer yes
extra_newline no
if_up_strictness address
net_avg_samples 1
no_buffers yes
temperature_unit celsius
text_buffer_size 2048
short_units yes
update_interval 1
###End Settings###

###Position###
alignment top_right
gap_x 55
gap_y 25
minimum_size 185 235
maximum_width 200
###End Position###

###Borders###
border_inner_margin 00
border_outer_margin 00
border_width 00
stippled_borders 00
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
###End Borders###

###Window###
own_window_class Conky
own_window yes
own_window_type conky
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
###End Window###

###Font###
max_text_width 0
override_utf8_locale yes
uppercase no
use_spacer none
use_xft yes
xftfont Ubuntu Mono:size=8
xftalpha 0.9
###End Font###

###Defining Colors###
default_color FFFFFF
default_outline_color 000000
default_shade_color blue
#Shades of Gray#
color1 DDDDDD
color2 AAAAAA
color3 FFA300 # hd color
#Orange#
color4 f4732d
#Green#
color5 C18C24 #gold
color6 46a646 #green#
color7 2c2c2c #color rulers
color8 EAEAEA #Orange
color9 4a89a7 #blue
###End Color###

lua_load ~/.conky/conky_grey.lua
lua_draw_hook_post main

own_window_argb_value 0
own_window_argb_visual no
own_window_colour 000000
TEXT
#${image /home/kev/.conky/arch-logo.png -p 88, 43 -s 40x40}
${color2}${voffset 70}${offset 80}${font Ubuntu Mono:size=15}${time %H}:${time %M}

lua for the clock
Code: [Select]
--==============================================================================
--                                 conky_grey.lua
--
--  author  : SLK
--  version : v2011062101
--  license : Distributed under the terms of GNU GPL version 2 or later
--
--==============================================================================

require 'cairo'

--------------------------------------------------------------------------------
--                                                                    clock DATA
-- HOURS
clock_h = {
    {
    name='time',                   arg='%H',                    max_value=12,
    x=110,                         y=80,
    graph_radius=63,
    graph_thickness=5,
    graph_unit_angle=30,           graph_unit_thickness=30,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.0,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.4,
    txt_radius=63,
    txt_weight=1,                  txt_size=9.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.9,
    graduation_radius=63,
    graduation_thickness=6,        graduation_mark_thickness=2,
    graduation_unit_angle=30,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    },
}
-- MINUTES
clock_m = {
    {
    name='time',                   arg='%M',                    max_value=60,
    x=110,                         y=80,
    graph_radius=70,
    graph_thickness=5,
    graph_unit_angle=6,            graph_unit_thickness=2,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.4,
    txt_radius=70,
    txt_weight=1,                  txt_size=8.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.7,
    graduation_radius=57,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=30,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    },
}
-- SECONDS
clock_s = {
    {
    name='time',                   arg='%S',                    max_value=60,
    x=110,                         y=80,
    graph_radius=56,
    graph_thickness=5,
    graph_unit_angle=6,            graph_unit_thickness=2,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.4,
    txt_radius=56,
    txt_weight=1,                  txt_size=8.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.9,
    graduation_radius=0,
    graduation_thickness=0,        graduation_mark_thickness=0,
    graduation_unit_angle=0,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.0,
    },
}

--------------------------------------------------------------------------------
--                                                                    gauge DATA
gauge = {
{
    name='cpu',                    arg='cpu0',                  max_value=100,
    x=70,                          y=200,
    graph_radius=30,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.2,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=1.0,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
    txt_radius=24,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.0,
    graduation_radius=24,
    graduation_thickness=1,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='cpu',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=1.0,
},
{
    name='cpu',                    arg='cpu1',                  max_value=100,
    x=70,                          y=200,
    graph_radius=18,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.5,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
    txt_radius=10,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='cpu1',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu2',                  max_value=100,
    x=70,                          y=200,
    graph_radius=12,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.5,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
    txt_radius=10,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='cpu2',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='memperc',                arg='',                      max_value=100,
    x=150,                          y=200,
    graph_radius=30,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.5,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
    txt_radius=30,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.0,
    graduation_radius=30,
    graduation_thickness=5,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.5,
    caption='mem',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},

}

-------------------------------------------------------------------------------
--                                                                 rgb_to_r_g_b
-- converts color in hexa to decimal
--
function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

-------------------------------------------------------------------------------
--                                                            angle_to_position
-- convert degree to rad and rotate (0 degree is top/north)
--
function angle_to_position(start_angle, current_angle)
    local pos = current_angle + start_angle
    return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
end

-------------------------------------------------------------------------------
--                                                              draw_clock_ring
-- displays clock
--
function draw_clock_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']

    -- background ring
    cairo_arc(display, x, y, graph_radius, 0, 2 * math.pi)
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)

    -- arc of value
    local val = (value % max_value)
    local i = 1
    while i <= val do
        cairo_arc(display, x, y, graph_radius,(  ((graph_unit_angle * i) - graph_unit_thickness)*(2*math.pi/360)  )-(math.pi/2),((graph_unit_angle * i) * (2*math.pi/360))-(math.pi/2))
        cairo_set_source_rgba(display,rgb_to_r_g_b(graph_fg_colour,graph_fg_alpha))
        cairo_stroke(display)
        i = i + 1
    end
    local angle = (graph_unit_angle * i) - graph_unit_thickness

    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
        local nb_graduation = 360 / graduation_unit_angle
        local i = 1
        while i <= nb_graduation do
            cairo_set_line_width(display, graduation_thickness)
            cairo_arc(display, x, y, graduation_radius, (((graduation_unit_angle * i)-(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2),(((graduation_unit_angle * i)+(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2))
            cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
            cairo_stroke(display)
            cairo_set_line_width(display, graph_thickness)
            i = i + 1
        end
    end

    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * (math.cos((angle * 2 * math.pi / 360)-(math.pi/2)))
    local movey = txt_radius * (math.sin((angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight);
    cairo_set_font_size (display, txt_size);
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha));
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3);
    cairo_show_text (display, value);
    cairo_stroke (display);
end

-------------------------------------------------------------------------------
--                                                              draw_gauge_ring
-- displays gauges
--
function draw_gauge_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_start_angle = data['graph_start_angle']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
    local hand_fg_colour, hand_fg_alpha = data['hand_fg_colour'], data['hand_fg_alpha']
    local graph_end_angle = (max_value * graph_unit_angle) % 360

    -- background ring
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, 0), angle_to_position(graph_start_angle, graph_end_angle))
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)

    -- arc of value
    local val = value % (max_value + 1)
    local start_arc = 0
    local stop_arc = 0
    local i = 1
    while i <= val do
        start_arc = (graph_unit_angle * i) - graph_unit_thickness
        stop_arc = (graph_unit_angle * i)
        cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
        cairo_set_source_rgba(display, rgb_to_r_g_b(graph_fg_colour, graph_fg_alpha))
        cairo_stroke(display)
        i = i + 1
    end
    local angle = start_arc

    -- hand
    start_arc = (graph_unit_angle * val) - (graph_unit_thickness * 2)
    stop_arc = (graph_unit_angle * val)
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display, rgb_to_r_g_b(hand_fg_colour, hand_fg_alpha))
    cairo_stroke(display)

    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
        local nb_graduation = graph_end_angle / graduation_unit_angle
        local i = 0
        while i < nb_graduation do
            cairo_set_line_width(display, graduation_thickness)
            start_arc = (graduation_unit_angle * i) - (graduation_mark_thickness / 2)
            stop_arc = (graduation_unit_angle * i) + (graduation_mark_thickness / 2)
            cairo_arc(display, x, y, graduation_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
            cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
            cairo_stroke(display)
            cairo_set_line_width(display, graph_thickness)
            i = i + 1
        end
    end

    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * math.cos(angle_to_position(graph_start_angle, angle))
    local movey = txt_radius * math.sin(angle_to_position(graph_start_angle, angle))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight)
    cairo_set_font_size (display, txt_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha))
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3)
    cairo_show_text (display, value)
    cairo_stroke (display)

    -- caption
    local caption = data['caption']
    local caption_weight, caption_size = data['caption_weight'], data['caption_size']
    local caption_fg_colour, caption_fg_alpha = data['caption_fg_colour'], data['caption_fg_alpha']
    local tox = graph_radius * (math.cos((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    local toy = graph_radius * (math.sin((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, caption_weight);
    cairo_set_font_size (display, caption_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(caption_fg_colour, caption_fg_alpha))
    cairo_move_to (display, x + tox + 5, y + toy + 1)
    -- bad hack but not enough time !
    if graph_start_angle < 105 then
        cairo_move_to (display, x + tox - 30, y + toy + 1)
    end
    cairo_show_text (display, caption)
    cairo_stroke (display)
end

-------------------------------------------------------------------------------
--                                                               go_clock_rings
-- loads data and displays clock
--
function go_clock_rings(display)
    local function load_clock_rings(display, data)
        local str, value = '', 0
        str = string.format('${%s %s}',data['name'], data['arg'])
        str = conky_parse(str)
        value = tonumber(str)
        draw_clock_ring(display, data, value)
    end
   
    for i in pairs(clock_h) do
        load_clock_rings(display, clock_h[i])
    end
    for i in pairs(clock_m) do
        load_clock_rings(display, clock_m[i])
    end
    for i in pairs(clock_s) do
        load_clock_rings(display, clock_s[i])
    end
end

-------------------------------------------------------------------------------
--                                                               go_gauge_rings
-- loads data and displays gauges
--
function go_gauge_rings(display)
    local function load_gauge_rings(display, data)
        local str, value = '', 0
        str = string.format('${%s %s}',data['name'], data['arg'])
        str = conky_parse(str)
        value = tonumber(str)
        draw_gauge_ring(display, data, value)
    end
   
    for i in pairs(gauge) do
        load_gauge_rings(display, gauge[i])
    end
end

-------------------------------------------------------------------------------
--                                                                         MAIN
function conky_main()
    if conky_window == nil then
        return
    end

    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local display = cairo_create(cs)
   
    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)
   
    if update_num > 5 then
        go_clock_rings(display)
        go_gauge_rings(display)
    end
   
    cairo_surface_destroy(cs)
    cairo_destroy(display)
end


Then I use this small conky on bottom of the clock for resource use and stuff

Code: [Select]
###############
# conky panel #
###############
# Conky settings #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
#imlib_cache_size 0

temperature_unit celsius

# Window specifications #
own_window_class Conky
own_window yes
own_window_type conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

minimum_size 200 450
maximum_width 200

alignment top_left
gap_x 25
gap_y 100

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# Text settings #
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5

uppercase no
temperature_unit celsius

default_color 850100

color1 DDDDDD
color2 AAAAAA
color3 FFA300 # hd color
#Orange#
color4 f4732d
#Green#
color5 C18C24 #gold
color6 46a646 #green
color7 2c2c2c #color rulers
color8 EAEAEA #Orange
color9 4a89a7 #blue
###End Color###

own_window_argb_value 0
own_window_argb_visual no
own_window_colour 000000
TEXT
###############
# Time & Date #
###############
#${color light grey}${font Dinreg:size=10}${voffset -15}${goto 45}${time %a} ${time %d %b %Y}
#${color light grey}${alignc} Temp:${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EIDW temperature temperature 30} °C
##############
# - SYSTEM - #
##############
${color C18C24}${font ubuntu:size=8}System $stippled_hr${font}
${color1}${voffset 5}${font ConkySymbols:size=16}t${font ubuntu:size=8}${goto 32}${voffset -12}Kernel:  ${alignr}${font ubuntu:style=normal:size=8}${kernel}
${color light grey}${goto 32}Uptime: ${alignr}${font Ubuntu:style=normal:size=8}${color light grey}${uptime}
# |--CPU
${color C18C24}${font dinreg:size=8}CPU $stippled_hr$
${color light grey}${font Poky:size=14}P${font ubuntu:size=8}${offset -19}${voffset 9}${offset 1}${cpubar cpu0 4,18}${voffset -16}${goto 32}CPU1: ${color light grey}${cpu cpu1}% ${alignr}${color2}${cpugraph cpu1 8,70 77507B 5C3566}
${goto 32}${font ubuntu:size=8}CPU2: ${color light grey}${cpu cpu2}% ${alignr}${color2}${cpugraph cpu2 8,70 77507B 5C3566}
# |--MEM
${color C18C24}${font dinreg:size=8}RAM $stippled_hr$
${color light grey}${font Poky:size=14}M ${goto 32}${voffset -7}${font ubuntu:size=8}RAM: $memperc% ${alignr}$mem / $memmax
${color light grey}${voffset 3}${membar 4,18} ${color light grey}${goto 32}SWAP: ${font ubuntu:size=8}$swapperc%${color light grey}${alignr}$swap / $swapmax
#${voffset 3}${goto 35}${memgraph cpu1 8,165 77507B 5C3566}
##########
# - HD - #
##########
${color C18C24}${font dinreg:size=8}HDD $stippled_hr
${color light grey}${font Poky:bold:size=14}y ${goto 32}${font Ubuntu:style=normal:size=8}${voffset -6}Disc: ${alignr}Ext.4
${goto 32}${color light grey}Home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${voffset 2}${goto 32}Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
###############
# - NETWORK - #
###############
${color C18C24}${font ubuntu:size=8}Network $stippled_hr
${color light grey}${if_up wlp3s0}
${voffset -5}${color light grey}${font Webdings:size=17}”${font Ubuntu:size=8}${goto 32}${voffset -5}Up: ${upspeed wlp3s0}${alignr}${color light grey}${upspeedgraph wlp3s0 8,70 77507B 5C3566}
${goto 32}Total: ${font Ubuntu:size=8}${totalup wlp3s0}
${voffset 2}${color light grey}${font Webdings:size=17}“${font Ubuntu:size=8}${goto 32}${voffset -5}Down: ${font Ubuntu:size=8}${downspeed wlp3s0} ${alignr}${downspeedgraph wlp3s0 8,70 77507B 5C3566}
${goto 32}Total: ${font Ubuntu:size=8}${totaldown wlp3s0}
#
${color light grey}${font Webdings:size=14}¬  ${goto 32}${font ubuntu:size=8}External IP: ${alignr}${addr wlp3s0}
${color light grey}${voffset 7}${font Poky:size=12}Y ${goto 32}${font ubuntu:size=8}${voffset -7}${color light grey}Current:: ${color light grey}${alignr}${execi 10 /sbin/iwconfig wlp3s0|grep Rate|cut -d"M" -f1|cut -b20-24}Mbits/sec
${goto 32}${font ubuntu:size=8}Sig Strength: ${alignr}${wireless_link_qual_perc wlp3s0}%
#############
# Audacious #
#############
#Audacious
${voffset 4}${font ubuntu:size=8}${color C18C24}Audacious $stippled_hr$
${font Monospace:size=12}${color light grey}♫ ${font ubuntu:size=8}${goto 20}${if_running audacious}${color DCDCDC}${font ubuntu:size=8} Track: 
${color DCDCDC}${font ubuntu:size=8}${voffset 3}${goto 10}${exec audtool --current-song}${font} ${font}
${color DCDCDC}${font ubuntu:size=8}${voffset 3}${goto 10}${exec audtool --current-song-bitrate-kbps}kbps${goto 80}${exec audtool --current-song-output-length} / ${exec audtool --current-song-length} ${color DCDCDC}${alignr} Vol: ${exec pactl list sinks | grep '^[[:space:]]Volume:' | \head -n $(( $SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,'}
${color C18C24} $stippled_hr$ ${endif}

Its probably not as clean as it could be but scripts and code are not my strong point, I usually have to copy/paste most of them coz my spelling and memory is so bad.
Seriously, I'd forget my balls only for I carry them in a sack!

The resulting conky in case anyone missed it.

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #577 on: 10. May 2016, 01:49:25 »
hi all,
after updating'm i an problem with conky.
i created an iso and conky does not work, see the return on terminal

Code: [Select]
┌─[Mon May 09][manjaro@manjaro-jwm:~]
└─> conky
conky: desktop window (281) is root window
conky: window type - desktop
conky: drawing to created window (0x2800002)
conky: drawing to double buffer
conky: forked to background, pid is 2359
┌─[Mon May 09][manjaro@manjaro-jwm:~]
└─>

already i looked at the code and i made some changes and did not work.
the conky the code and

Code: [Select]
conky.config = {
alignment = 'top_right',
background = true,
color2 = '2b2c2b',
cpu_avg_samples = 2,
default_color = '2b2c2b',
        draw_shades = false,
double_buffer = true,
font = 'Cantarell:size=9',
gap_x = 10,
gap_y = 50,
minimum_width = 200,
no_buffers = true,
own_window = true,
own_window_type = 'desktop',
own_window_transparent = true,
own_window_argb_visual = true,
        own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
update_interval = 1.0,
use_xft = true,
}
conky.text = [[
${voffset 8}$color${font Cantarell:size=16}${time %a}$font${voffset -8}$alignr${color 2b2c2b}${font Cantarell:size=38}${time %e}$font
$color${voffset -30}$color${font Cantarell:size=18}${time %b}$font${voffset -3} $color${font Cantarell:size=20}${time %Y}$font

${voffset 10}$alignr$color Brasília (BR) ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SBBR temperature temperature 15}°C
#
${voffset 10}${goto 30}CPU$alignr$cpu%
${goto 30}${cpubar 5,175}
${voffset 5}${goto 30}$color2${top name 1}$alignr${top cpu 1}%$color
${goto 30}$color2${top name 2}$alignr${top cpu 2}%$color
${goto 30}$color2${top name 3}$alignr${top cpu 3}%$color
${goto 30}$color2${top name 4}$alignr${top cpu 4}%$color
#
${voffset 10}${goto 30}RAM$alignr$memmax I $mem
${goto 30}${membar 5,175}
${voffset 5}${goto 30}$color2${top_mem name 1}$alignr${top_mem mem_res 1}$color
${goto 30}$color2${top_mem name 2}$alignr${top_mem mem_res 2}$color
${goto 30}$color2${top_mem name 3}$alignr${top_mem mem_res 3}$color
${goto 30}$color2${top_mem name 4}$alignr${top_mem mem_res 4}$color
#
${voffset 10}${goto 30}HD$alignr${fs_size /} I ${fs_used /}
${goto 30}${fs_bar 5,175}
#
${voffset 10}${goto 30}BATT$alignr${battery_percent BAT1}%
${goto 30}${battery_bar BAT1}
#
${voffset 10}$alignr${color} Manjaro Linux ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
#
${voffset 10}$alignr${execi 1200 whoami}@${nodename}
${alignr}${color2}${font Cantarell:size=9}uptime ${color}${uptime_short}
${alignr}${color2}${font Cantarell:size=9}${alignr}kernel ${color}${kernel}
${alignr}${color2}${font Cantarell:size=9}${alignr}architecture ${color}${machine} Systemd
${voffset 10}${alignr}${color} updates currently available ${color 2b2c2b}${font Cantarell:bold:size=10}${execpi 10800 checkupdates | wc -l}${font}${color}
]]

does anyone have any ideas

vlw fwi, Holmes ?)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3190
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #578 on: 10. May 2016, 10:08:22 »
try background=false,
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #579 on: 10. May 2016, 12:51:49 »
try background=false,

hi @eugen-b,
i had changed it and it appears:

Code: [Select]
conky: desktop window (281) is root window
conky: window type - desktop
conky: drawing to created window (0x2800002)
conky: drawing to double buffer
Segmentation fault (core dumped)

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #580 on: 10. May 2016, 13:58:54 »
hi @eugen-b,
i had changed it and it appears:

Code: [Select]
conky: desktop window (281) is root window
conky: window type - desktop
conky: drawing to created window (0x2800002)
conky: drawing to double buffer
Segmentation fault (core dumped)

vlw fwi, Holmes :)

Hey Holmes!  Try installing conky-lua-nv.  It solved my problem, which was the same as yours.  See this thread and give Oberon a big thanks!  :)
---------------------------------------------------
I make you look good. 8)

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #581 on: 10. May 2016, 14:22:02 »
hello, @lightbeam,
you installed conky-lua-nv and remove conky?
or you have both?

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Conky thread, show your work!
« Reply #582 on: 10. May 2016, 14:28:07 »
Hey Holmes!  Try installing conky-lua-nv.  It solved my problem, which was the same as yours.  See this thread and give Oberon a big thanks!  :)

OK
i removed the conky and installed conky-lua-nv and it worked!
thanks...@lightbeam... ;)

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #583 on: 10. May 2016, 14:53:24 »
OK
i removed the conky and installed conky-lua-nv and it worked!
thanks...@lightbeam... ;)

vlw fwi, Holmes :)

:)
---------------------------------------------------
I make you look good. 8)

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: Conky thread, show your work!
« Reply #584 on: 07. June 2016, 00:43:35 »
That was short-lived, conky no longer works for me after the latest stable release.  Anybody else have this problem again?  Solution?  Thanks!
---------------------------------------------------
I make you look good. 8)