You are not logged in.

#401 2017-01-24 02:52:50

easysid
Member
Registered: 2016-01-01
Posts: 49

Re: Show us your conky

Sector11 wrote:

@ easysid ... I LIKE IT!  It's now the one conky on Desktop #5
https://cdn.scrot.moe/images/2017/01/23/2017-01-23_145338_Scrot11.th.png
I have a triple core AMD so CPU 0 is perfect:

-- CPU C=1 P=2 U=3 0=Total/Average

and it's a desktop - no battery.  Thanks for another nice script - KUDOS! smile


Thanks for the kind words.

Full disclosure - I am not a creative person. The conky is based on this rainmeter skin I came across
http://injust29.deviantart.com/art/LIM-T-1-2-344112531

I thought it'd make a nice conky, and wasn't aware if it had been done before. Porting rainmeter skins to conky by just a screenshot is probably fair use. (Right? Right?)

I'll add an option to display day and month in words. It'd make config slightly complicated, but nothing too difficult for us I imagine.

Offline

#402 2017-01-24 02:57:05

easysid
Member
Registered: 2016-01-01
Posts: 49

Re: Show us your conky

unklar wrote:

@easysid,   smile
I get in the terminal once this error:

$ Conky: forked to background, pid is 5964

Conky: desktop window (2c0000a) is subwindow of root window (4a5)
Conky: window type - normal
Conky: drawing to created window (0x5000002)
Conky: drawing to double buffer
Conky: llua_do_call: function conky_main execution failed: ...PC/Conky/derivantArt/easysid/farbenUhr/colorfill.lua:105: attempt to perform arithmetic on local 'value' (a nil value)
Conky: llua_do_call: function conky_main execution failed: ...PC/Conky/derivantArt/easysid/farbenUhr/colorfill.lua:105: attempt to perform arithmetic on local 'value' (a nil value)

Do you get these errors repeatedly, or just twice. It might be that a value, specifically CPU usage isn't available at the start. Increasing the delay between lua and conky might help.

I'll add code to produce detailed error messages to find which argument causes the errors.

Offline

#403 2017-01-24 03:14:56

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,665

Re: Show us your conky

easysid wrote:

Thanks for the kind words.

You're welcome.  I have quite a few of your conkys/scripts

easysid wrote:

Full disclosure - I am not a creative person. The conky is based on this rainmeter skin I came across
http://injust29.deviantart.com/art/LIM-T-1-2-344112531

I thought it'd make a nice conky, and wasn't aware if it had been done before. Porting rainmeter skins to conky by just a screenshot is probably fair use. (Right? Right?)

I don't see any problem with that.  You forked a rainmeter "idea" (not the code) to conky, maybe the guy that did the 'rainmeter' theme saw a Linux conky some place.  After all, mine and yours do not look like his.  And the code certainly is not the same (I looked in the archive)

Relax ... it's cool, no problem. 
BUT the lawyers are on the way to your house now.  I'M KIDDING!!!!  devil

BTW, seeing a screen and creating a LUA script to mimic it "is very creative"  wink

If you had the material and the place/tools/knowledge/etc you could build your own car.
You just can't call it a Ford. big_smile  No no, Renault is out too!

easysid wrote:

I'll add an option to display day and month in words. It'd make config slightly complicated, but nothing too difficult for us I imagine.

That would be nice too - or any text output from a conky command.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#404 2017-01-24 09:48:54

easysid
Member
Registered: 2016-01-01
Posts: 49

Re: Show us your conky

I have made a few changes. Nil value errors are now verbose. As expected, it was {cpu} that was the culprit.

Also, I have added a new config option parse_label <boolean> Use this to parse the label text. This allows us to use the name of the month like 'January' in display, while getting the required calculations from the decimal value of the month.

example

    {
        label = "time %B",      -- conky var as the label (name of the month)
        parse_label = true,     -- we need to parse the above label value
        arg = "time %m",        -- actual arg to generate the info (decimal value of the month)
        ------------
        -- everything else stays the same
        ------------
        max = 12,               
        x = 500,                
        y = 90,                 
        color = {0xd07036, 1},  
        font = font_face,       
        size = 60
    }

Here is a screenshot of the new script, in style of gotham conky
9UgcccAl.png

The ':' are generated by conkyrc itself, so no fill effect. You can use the conkyrc to put any other similar text, where fill is not necessarily required.

colorfill.lua

--[[
colorfill.lua
lua script for colors conky
easysid
Monday, 23 January 2017 13:44 IST
Update:
    Tuesday, 24 January 2017
        * Allow conky vars as labels
        * catch nil value errors
]]--

require 'cairo'

-- common
local base = {0x404040, 1} -- {base fill color, alpha}
local font_face = 'champagne & limousines'

local settings_t = {
    {
        label = "CPU",      -- simple label
        arg = "cpu cpu0",
        max = 100,
        x = 20,
        y = 240,
        color = {0x912d2d, 1},
        font = font_face,
        size = 60,
    },
    {
        label = "RAM",
        arg = "memperc",
        max = 100,
        x = 165,
        y = 240,
        color = {0xa9309f, 1},
        font = font_face,
        size = 60,
    },
    {
        label = "BAT",
        arg = "battery_percent BAT0",
        max = 100,
        x = 310,
        y = 240,
        color = {0x1d7235, 1},
        font = font_face,
        size = 60,
    },
    {
        label = nil,        -- no label, use the arg value
        arg = "time %H",
        max = 24,
        x = 10,
        y = 160,
        color = {0xd07036, 1},
        font = font_face,
        size = 160
    },
    {
        label = nil,
        arg = "time %M",
        max = 60,
        x = 240,
        y = 160,
        color = {0x3f75d7, 1},
        font = font_face,
        size = 160,
    },
    {
        label = nil,
        arg = "time %d",
        max = 30,
        x = 420,
        y = 90,
        color = {0x0fb575, 1},
        font = font_face,
        size = 60
    },
    {
        label = "time %B",      -- conky var as a label
        parse_label = true,     -- we need to parse the label value
        arg = "time %m",
        max = 12,
        x = 500,
        y = 90,
        color = {0xd07036, 1},
        font = font_face,
        size = 60
    },
    {
        label = "time %A",
        parse_label = true,
        arg = "time %u",
        max = 7,
        x = 420,
        y = 160,
        color = {0xa9309f, 1},
        font = font_face,
        size = 80
    },
}

-- ###### should not need to edit below this line ###### --

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)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates > 3 then
        for i in ipairs(settings_t) do
            drawText(settings_t[i])
        end -- for
    end
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr = nil
end --end main()

function drawText(t)
    local text = conky_parse(string.format("${%s}", t.arg))
    local value = tonumber(text)
    -- catch any nil value errors
    if value == nil then
        print(string.format("{%s} returned a nil value", t.arg))
        return
    end
    -- label jugglery
    if t.label then
        text = t.label
        if t.parse_label then
            text = conky_parse(string.format("${%s}", t.label))
        end
    end
    local x = t.x or 100
    local y = t.y or 100
    local font = t.font or "sans"
    local size = t.size or 50
    local col = t.color or {0xFFFFFF, 1}
    local max = t.max or 100
    local perc = 1 - value/max
    local extents=cairo_text_extents_t:create()
    tolua.takeownership(extents)
    cairo_select_font_face(cr, font, 0, 0)
    cairo_set_font_size(cr, size)
    cairo_text_extents(cr, text, extents)
    local w = extents.width
    local h = extents.height
    local pat = cairo_pattern_create_linear(x, y-h, x, y)
    cairo_pattern_add_color_stop_rgba(pat, perc, rgba_to_r_g_b_a(base))
    cairo_pattern_add_color_stop_rgba(pat, perc, rgba_to_r_g_b_a(col))
    cairo_set_source(cr, pat)
    cairo_move_to(cr, x, y)
    cairo_show_text(cr, text)
    cairo_stroke(cr)
end

function rgba_to_r_g_b_a(tcolor)
    local color,alpha=tcolor[1],tcolor[2]
    return ((color / 0x10000) % 0x100) / 255.,
    ((color / 0x100) % 0x100) / 255., (color % 0x100) / 255., alpha
end

Last edited by easysid (2017-01-24 09:56:40)

Offline

#405 2017-01-24 09:50:56

unklar
Member
Registered: 2015-10-31
Posts: 949

Re: Show us your conky

^ WOW!  big_smile (The new lua I have not yet tested.)

easysid wrote:

Do you get these errors repeatedly, or just twice.

Once only. These two lines.

Last edited by unklar (2017-01-24 09:54:36)

Offline

#406 2017-01-24 11:10:10

unklar
Member
Registered: 2015-10-31
Posts: 949

Re: Show us your conky

I get (my resolution is 1680x1050  wink  )
Screenshot_20170124_120009.th.png

..
{cpu cpu0} returned a nil value
{memperc} returned a nil value

once

Offline

#407 2017-01-24 11:16:59

easysid
Member
Registered: 2016-01-01
Posts: 49

Re: Show us your conky

unklar wrote:

I get

..
{cpu cpu0} returned a nil value
{memperc} returned a nil value

once

That might be because the values aren't ready for the first run. The errors are harmless if they don't keep appearing. Try increasing the delay between conky and lua script.

Change

if updates > 3 then

to

if updates > 5 then

in the conky_main function. This should fix it.

Offline

#408 2017-01-24 13:40:07

unklar
Member
Registered: 2015-10-31
Posts: 949

Re: Show us your conky

^ The error remains. I'm already at 7 then. After the first start.
As seen on the screen, after reloaded not.  smile
Screenshot_20170124_142541.th.png

Offline

#409 2017-01-24 14:34:05

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,665

Re: Show us your conky

Watching with interest ... and totally puzzled at unklar's plight.  sad

Just to show the new script with a couple of changes:
2017-01-24_113026_Scrot11.th.png
SUPER NICE!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#410 2017-01-24 15:40:07

unklar
Member
Registered: 2015-10-31
Posts: 949

Re: Show us your conky

^ Hahaha,
this is not a plight!   devil

The function main
I call her with

lua_draw_hook_post main

or

lua_draw_hook_pre main

on ?

Offline

#411 2017-01-24 15:51:06

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,665

Re: Show us your conky

Well, you were getting an error that we were not getting, for me: that's a plight.  smile

But did changing "_post" to "_pre" fix it for you?

{best imitation of Obi-Wan Kenobi's voice I can do}

Use the draw_lua_hook_pre unklar, use the draw_lua_hook_pre
May the Force be with you.

  lol  lol


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#412 2017-01-25 08:18:19

unklar
Member
Registered: 2015-10-31
Posts: 949

Re: Show us your conky

Thank you.

Sector11 wrote:

But did changing "_post" to "_pre" fix it for you?

No.
Obi was not with me... By the way, I do not know him. tongue

Offline

#413 2017-01-25 13:13:08

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,665

Re: Show us your conky

Obi-Wan Kenobi - Star Wars - Luke Skywalkers mentor, who says: "Use the Force Luke." - but you knew that.  smile

Do not understand why it doesn't work for you.  sad


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#414 2017-02-14 18:05:10

unklar
Member
Registered: 2015-10-31
Posts: 949

Re: Show us your conky

I have here a conky of ragamatrix from the crunchbang forum.

screenFetch-2017-02-14_17-11-49.th.png

My knowledge of LUA is modest. Therefore, I can not find where I need to adjust the colors to display the seconds pointer in RED.

@ragamatrix or anyone else, could please help?  smile

the conkyrc

# pkill -xf "conky -c /media/DATEN/francescoPC/Conky/nasa/ragamatrix/system_clock/" &
# conky -c /media/5/Conky/S11_Rem_Cal.conky &
# To use #! in a conky use: ${exec echo '#!'}
# Reminder fix compliments: Reid Thompson
###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager   #,sticky
own_window_title systemclock
own_window_class Conky
#own_window_colour grey50
### ARGB can be used for real transparency
own_window_argb_visual yes
own_window_argb_value 150

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

############
minimum_size 350 400
#maximum_width 350 ##largeur
############

gap_x -6 # left-right
gap_y -30 # up-down

alignment mm
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Monofur:bold:size=11
xftfont	mono:bold:size=8
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color DCDCDC #220 220 220    Gainsboro
#default_color C0C0C0 #192 192 192 Silver
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143    DarkSeaGreen
color1 778899 #119 136 153    LightSlateGray
color2 D8BFD8 #216 191 216    Thistle
color3 9ACD32 #154 205  50    YellowGreen
color4 FFA07A #255 160 122    LightSalmon
color5 FFDEAD #255 222 173    NavajoWhite
color6 00BFFF #  0 191 255    DeepSkyBlue
color7 5F9EA0 # 95 158 160    CadetBlue
color8 BDB76B #189 183 107    DarkKhaki
color9 CD5C5C #205  92  92    IndianRed  #FF0000 #255   0   0    Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

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

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

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

#   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
update_interval 1
##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - After - requires a composite manager or blinks.
##############################################################################
lua_load /media/DATEN/francescoPC/Conky/nasa/ragamatrix/system_clock/system_clock.lua
lua_draw_hook_pre main

TEXT 

the system_clock.lua

--this lua script for use in conky
require 'cairo'

function conky_main(center_x,center_y)
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)
cr = cairo_create(cs)
local updates=tonumber(conky_parse('${updates}'))
if updates>5 then
--#################################################################
--#################################################################
--#################################################################
-- hours on the clock 12 or 24
hours=12
--the second interval displayed 5, 10, or 15
seconds=5
second_hand_size=1
minute_hand_size=5
hour_hand_size=5
-- Colors
d_font_red=.8
d_font_green=.8
d_font_blue=.8
d_font_alpha=1
--#################################################################
--#################################################################
--#################################################################
d_math=math.pi/180
max_width=175
if center_x == nil then center_x=max_width+5 end
if center_y == nil then center_y=max_width+5 end
hour_radius=141
second_radius=120
--#################################################################
--########## time calculation #####################################
--#################################################################
date_mm_dd_yy=conky_parse("${time %D}")
second=tonumber(conky_parse("${time %S}"))
minute=tonumber(conky_parse("${time %M}"))
if hours ~= 12 then hours=24 end
if hours == 12 then
hour=tonumber(conky_parse("${time %I}"))
time_hms=conky_parse("${time %r}")
i_start=1
i_end=12
else
hour=tonumber(conky_parse("${time %H}"))
time_hms=conky_parse("${time %T}")
i_start=0
i_end=hours-1
end
second_position=(-90+(360/60)*second)*d_math
minute_position=(-90+(360/60)*minute)*d_math
hour_position=(-90+(360/hours)*hour)*d_math+(((360/hours/60)*minute)*d_math)
--#################################################################
--########## string values ########################################
--#################################################################
cpu_avg=tonumber(conky_parse("${cpu cpu0}"))
if cpu_avg == nil then cpu_avg=0 end
cpu_core1=tonumber(conky_parse("${cpu cpu1}"))
if cpu_core1 == nil then cpu_core1=0 end
cpu_core2=tonumber(conky_parse("${cpu cpu2}"))
if cpu_core2 == nil then cpu_core2=0 end
ram=tonumber(conky_parse("${memperc}"))
if ram == nil then ram=0 end
mem=conky_parse("${mem}")
mem_size=conky_parse("${memmax}")
swap_perc=tonumber(conky_parse("${swapperc}"))
if swap_perc == nil then swap_perc=0 end
swap=conky_parse("${swap}")
swap_size=conky_parse("${swapmax}")
--#################################################################
--########## Info Panel ###########################################
--#################################################################
cairo_set_line_width(cr,2)
cairo_arc(cr,55,360,30,(90*d_math),(270*d_math))
cairo_arc(cr,295,360,30,(270*d_math),(90*d_math))
cairo_close_path(cr)
cairo_set_source_rgba(cr,.2,.2,1,.75)
cairo_fill(cr)
cairo_set_line_width(cr,2)
cairo_arc(cr,55,360,28,(90*d_math),(270*d_math))
cairo_arc(cr,295,360,28,(270*d_math),(90*d_math))
cairo_close_path(cr)
cairo_set_source_rgba(cr,0,0,0,1)
cairo_fill(cr)
x={52,52,52,
161,153,153,
225,225,225,225
}
y={348,363,378,
355,370,383,
343,355,370,382
}
t={"Cpu Avg:     "..cpu_avg.."%","Cpu Core 1: "..cpu_core1.."%","Cpu Core 2: "..cpu_core2.."%",
"Time: ",time_hms,date_mm_dd_yy,
"Ram:",""..mem.." / "..mem_size.."","Swap:",""..swap.." / "..swap_size..""
}
for i = 1,#t do
cairo_set_source_rgba(cr,.8,.8,.8,1)
cairo_move_to(cr,x[i],y[i])
cairo_show_text(cr,t[i])
end
cairo_stroke(cr)
--#################################################################
--#################################################################
--#################################################################
--minute hand bottom
cairo_set_line_width(cr,6)
cairo_arc(cr,center_x,center_y,170,(minute_position-((minute_hand_size/2)*d_math)),(minute_position+((minute_hand_size/2)*d_math)))
cairo_arc(cr,center_x,center_y,10,(minute_position+(40*d_math)),(minute_position-(40*d_math)))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_fill_preserve(cr)
cairo_set_source_rgba(cr,0,0,0,1)
cairo_close_path(cr)
cairo_fill(cr)
--hour hand bottom
cairo_arc(cr,center_x,center_y,160,(hour_position-((hour_hand_size/2)*d_math)),(hour_position+((hour_hand_size/2)*d_math)))
cairo_arc(cr,center_x,center_y,10,(hour_position+(40*d_math)),(hour_position-(40*d_math)))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_fill_preserve(cr)
cairo_set_source_rgba(cr,0,0,0,1)
cairo_close_path(cr)
cairo_fill(cr)
--hands center
cairo_set_line_width(cr,2)
cairo_arc(cr,center_x,center_y,10,0,(360*d_math))
cairo_set_source_rgba(cr,0,0,0,1)
cairo_fill(cr)
--main background
cairo_arc(cr,center_x,center_y,150,0,(360*d_math))
cairo_set_source_rgba(cr,.5,.5,.5,.25)
cairo_fill(cr)
--clock background
cairo_arc(cr,center_x,center_y,150,0,(360*d_math))
cairo_arc_negative(cr,center_x,center_y,110,(360*d_math),0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,0,0,0,1)
cairo_fill(cr)
cairo_arc(cr,center_x,center_y,150,0,(360*d_math))
cairo_set_source_rgba(cr,.2,.2,1,.75)
cairo_stroke(cr)
cairo_arc(cr,center_x,center_y,130,0,(360*d_math))
cairo_set_source_rgba(cr,.25,.25,.25,1)
cairo_stroke(cr)
cairo_arc(cr,center_x,center_y,110,0,(360*d_math))
cairo_set_source_rgba(cr,.2,.2,1,.75)
cairo_stroke(cr)
--#################################################################
--########## System Info ##########################################
--#################################################################
cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
--cpu avg
cairo_set_line_width(cr,10)
cairo_arc(cr,center_x,center_y,102,(135*d_math),(45*d_math))
cairo_set_source_rgba(cr,0,0,0,1)
cairo_stroke(cr)
cairo_set_line_width(cr,8)
cairo_arc(cr,center_x,center_y,102,(135*d_math),((135*d_math)+(((270/100)*cpu_avg)*d_math)))
cairo_set_source_rgba(cr,.2,.2,1,.75)
cairo_stroke(cr)
--cpu core 1
cairo_set_line_width(cr,10)
cairo_arc(cr,center_x,center_y,89,(135*d_math),(45*d_math))
cairo_set_source_rgba(cr,0,0,0,1)
cairo_stroke(cr)
cairo_set_line_width(cr,8)
cairo_arc(cr,center_x,center_y,89,(135*d_math),((135*d_math)+(((270/100)*cpu_core1)*d_math)))
cairo_set_source_rgba(cr,.2,.2,1,.75)
cairo_stroke(cr)
--cpu core 2
cairo_set_line_width(cr,10)
cairo_arc(cr,center_x,center_y,76,(135*d_math),(45*d_math))
cairo_set_source_rgba(cr,0,0,0,1)
cairo_stroke(cr)
cairo_set_line_width(cr,8)
cairo_arc(cr,center_x,center_y,76,(135*d_math),((135*d_math)+(((270/100)*cpu_core2)*d_math)))
cairo_set_source_rgba(cr,.2,.2,1,.75)
cairo_stroke(cr)
--ram
cairo_set_line_width(cr,10)
cairo_arc(cr,center_x,center_y,62,(100*d_math),(260*d_math))
cairo_set_source_rgba(cr,0,0,0,1)
cairo_stroke(cr)
cairo_set_line_width(cr,8)
cairo_arc(cr,center_x,center_y,62,(100*d_math),((100*d_math)+(((160/100)*ram)*d_math)))
cairo_set_source_rgba(cr,.2,.2,1,.75)
cairo_stroke(cr)
--swap
cairo_set_line_width(cr,10)
cairo_arc(cr,center_x,center_y,62,(-80*d_math),(80*d_math))
cairo_set_source_rgba(cr,0,0,0,1)
cairo_stroke(cr)
cairo_set_line_width(cr,8)
cairo_arc_negative(cr,center_x,center_y,62,(80*d_math),((80*d_math)-(((160/100)*swap_perc)*d_math)))
cairo_set_source_rgba(cr,.2,.2,1,.75)
cairo_stroke(cr)
--#################################################################
--########## Text Backgrounds #####################################
--#################################################################
--cpu_avg
cairo_set_line_width(cr,14)
cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
cairo_arc(cr,center_x,center_y,102,(50*d_math),(130*d_math))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_stroke(cr)
cairo_set_line_width(cr,12)
cairo_arc(cr,center_x,center_y,102,(50*d_math),(130*d_math))
cairo_set_source_rgba(cr,.1,.1,.1,1)
cairo_stroke(cr)
--cpu_core1
cairo_set_line_width(cr,14)
cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
cairo_arc(cr,center_x,center_y,89,(50*d_math),(130*d_math))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_stroke(cr)
cairo_set_line_width(cr,12)
cairo_arc(cr,center_x,center_y,89,(50*d_math),(130*d_math))
cairo_set_source_rgba(cr,.1,.1,.1,1)
cairo_stroke(cr)
--cpu_core2
cairo_set_line_width(cr,14)
cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
cairo_arc(cr,center_x,center_y,76,(50*d_math),(130*d_math))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_stroke(cr)
cairo_set_line_width(cr,12)
cairo_arc(cr,center_x,center_y,76,(50*d_math),(130*d_math))
cairo_set_source_rgba(cr,.1,.1,.1,1)
cairo_stroke(cr)
--ram
cairo_set_line_width(cr,14)
cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
cairo_arc(cr,center_x,center_y,47,(157*d_math),(202*d_math))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_stroke(cr)
cairo_set_line_width(cr,12)
cairo_arc(cr,center_x,center_y,47,(157*d_math),(202*d_math))
cairo_set_source_rgba(cr,.1,.1,.1,1)
cairo_stroke(cr)
--swap
cairo_set_line_width(cr,14)
cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
cairo_arc(cr,center_x,center_y,47,(-30*d_math),(30*d_math))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_stroke(cr)
cairo_set_line_width(cr,12)
cairo_arc(cr,center_x,center_y,47,(-30*d_math),(30*d_math))
cairo_set_source_rgba(cr,.1,.1,.1,1)
cairo_stroke(cr)
cairo_set_line_cap(cr,CAIRO_LINE_CAP_BUTT)
--#################################################################
--######### Text ##################################################
--#################################################################
cairo_set_source_rgba(cr,.8,.8,.8,1)
t={"C","P","U"," ","A","V","E","R","A","G","E"}
for i=1,#t do
	x,y=pt((center_x-3),(center_y+4),102,((223-(79/#t)*i)))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,t[i])
end--for
cairo_stroke(cr)
t={"C","P","U"," ","C","O","R","E"," ","1"}
for i=1,#t do
	x,y=pt((center_x-3),(center_y+4),89,((223-(79/#t)*i)))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,t[i])
end--for
cairo_stroke(cr)
t={"C","P","U"," ","C","O","R","E"," ","2"}
for i=1,#t do
	x,y=pt((center_x-3),(center_y+4),76,((223-(79/#t)*i)))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,t[i])
end--for
cairo_stroke(cr)
t={"R","A","M"}
for i=1,#t do
	x,y=pt((center_x-3),(center_y+4),48,(((90+220)-(60/#t)*i)))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,t[i])
end--for
cairo_stroke(cr)
t={"P","A","W","S"}
for i=1,#t do
	x,y=pt((center_x-3),(center_y+4),46,((134-(70/#t)*i)))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,t[i])
end--for
cairo_stroke(cr)
--######################################################################
-- time markers ########################################################
--######################################################################
for i=1,60 do
second_markers_position=(-90*d_math)+((i*(360/60))*d_math)
cairo_set_line_width(cr,2)
cairo_set_line_cap(cr,CAIRO_LINE_CAP_BUTT)
cairo_arc(cr,center_x,center_y,115,second_markers_position,second_markers_position)
cairo_arc(cr,center_x,center_y,110,second_markers_position,second_markers_position)
cairo_set_source_rgba(cr,.75,.75,.75,1)
cairo_stroke(cr)
cairo_arc(cr,center_x,center_y,130,second_markers_position,second_markers_position)
cairo_arc(cr,center_x,center_y,125,second_markers_position,second_markers_position)
cairo_stroke(cr)
end
for i=i_start,i_end do
hour_markers_position=(-90*d_math)+(i*(360/hours))*d_math
cairo_set_line_width(cr,3)
cairo_arc(cr,center_x,center_y,150,hour_markers_position,hour_markers_position)
cairo_arc(cr,center_x,center_y,145,hour_markers_position,hour_markers_position)
cairo_set_source_rgba(cr,.5,.5,.5,1)
cairo_stroke(cr)
cairo_arc(cr,center_x,center_y,135,hour_markers_position,hour_markers_position)
cairo_arc(cr,center_x,center_y,130,hour_markers_position,hour_markers_position)
cairo_stroke(cr)
end
--######################################################################
-- time text ###########################################################
--######################################################################
--######################################################################
-- mrpeacy code ########################################################
--######################################################################
cairo_set_source_rgba(cr,.8,.8,.8,1)
if hours==24 then
for i=0,23 do
	if i==0 or i==2 or i==4 or i==6 or i==8 or i==10 or i==12 or i==14 or i==16 or i==18 or i==20 or i==22 then
	x,y=pt((center_x-4),(center_y+4),(hour_radius),((360/24)*i))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,i)
	end
end--for
elseif hours==12 then
for i=1,12 do
	x,y=pt((center_x-4),(center_y+4),(hour_radius),((360/12)*i))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,i)
end--for
end--hours
if seconds==5 then
for i=0,59 do
	if i==0 or i==5 or i==10 or i==15 or i==20 or i==25 or i==30 or i==35 or i==40 or i==45 or i==50 or i==55 then
	x,y=pt((center_x-5),(center_y+4),(second_radius),((360/60)*i))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,i)
	end
end--for
elseif seconds==10 then
for i=0,59 do
	if i==0 or i==10 or i==20 or i==30 or i==40 or i==50 then
	x,y=pt((center_x-5),(center_y+4),(second_radius),((360/60)*i))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,i)
	end
end--for
elseif seconds==15 then
for i=0,59 do
	if i==0 or i==15 or i==30 or i==45 then
	x,y=pt((center_x-5),(center_y+4),(second_radius),((360/60)*i))
	cairo_move_to (cr,x,y)
	cairo_show_text (cr,i)
	end
end--for
end--second
cairo_stroke(cr)
--######################################################################
-- mrpeacy code end ####################################################
--######################################################################
--hour hand top
cairo_set_line_width(cr,6)
cairo_arc(cr,center_x,center_y,160,(hour_position-((hour_hand_size/2)*d_math)),(hour_position+((hour_hand_size/2)*d_math)))
cairo_arc_negative(cr,center_x,center_y,140,hour_position,hour_position)
cairo_set_source_rgba(cr,1,1,1,1)
cairo_fill_preserve(cr)
cairo_set_source_rgba(cr,0,0,0,1)
cairo_close_path(cr)
cairo_fill(cr)
--minute hand top
cairo_arc(cr,center_x,center_y,170,(minute_position-((minute_hand_size/2)*d_math)),(minute_position+((minute_hand_size/2)*d_math)))
cairo_arc_negative(cr,center_x,center_y,120,minute_position,minute_position)
cairo_set_source_rgba(cr,1,1,1,1)
cairo_fill_preserve(cr)
cairo_set_source_rgba(cr,0,0,0,1)
cairo_close_path(cr)
cairo_fill(cr)
--second hand
cairo_set_line_width(cr,2)
cairo_arc(cr,center_x,center_y,10,0,(360*d_math))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_fill(cr)
cairo_arc(cr,center_x,center_y,9,0,(360*d_math))
cairo_set_source_rgba(cr,0,0,0,1)
cairo_fill(cr)
cairo_set_line_width(cr,4)
cairo_arc(cr,center_x,center_y,10,second_position,second_position)
cairo_arc(cr,center_x,center_y,120,second_position,second_position)
cairo_set_source_rgba(cr,1,1,1,1)
cairo_stroke(cr)
cairo_set_line_width(cr,3)
cairo_arc(cr,center_x,center_y,9,second_position,second_position)
cairo_arc(cr,center_x,center_y,119,second_position,second_position)
cairo_set_source_rgba(cr,0,0,0,1)
cairo_stroke(cr)
cairo_set_line_width(cr,4)
cairo_arc(cr,center_x,center_y,10,(second_position-(180*d_math)),(second_position-(180*d_math)))
cairo_arc(cr,center_x,center_y,30,(second_position-(180*d_math)),(second_position-(180*d_math)))
cairo_set_source_rgba(cr,1,1,1,1)
cairo_stroke(cr)
cairo_set_line_width(cr,3)
cairo_arc(cr,center_x,center_y,9,(second_position-(180*d_math)),(second_position-(180*d_math)))
cairo_arc(cr,center_x,center_y,29,(second_position-(180*d_math)),(second_position-(180*d_math)))
cairo_set_source_rgba(cr,0,0,0,1)
cairo_stroke(cr)
--#################################################################
--#################################################################
--#################################################################
end-- if updates>5
cairo_destroy(cr)
cairo_surface_destroy(cs)
cr=nil
return""
end-- end main function
--#################################################################
--#################################################################
--#################################################################
--######################################################################
-- mrpeacy code ########################################################
--######################################################################
function pt(px,py,prad,pdeg)
local ppo=(math.pi/180)*pdeg
local px1=px+prad*(math.sin(ppo))
local py1=py-prad*(math.cos(ppo))
return px1,py1
end
function font(fontt)
local name=fontt.f	or default_font_name	or "mono"
local size=fontt.fs	or default_font_size	or 12
local face=fontt.ff	or default_font_face	or "n"
if face=="n" then
cairo_select_font_face(cr,name,CAIRO_FONT_SLANT_NORMAL,CAIRO_FONT_WEIGHT_NORMAL)
elseif face=="b" then
cairo_select_font_face(cr,name,CAIRO_FONT_SLANT_NORMAL,CAIRO_FONT_WEIGHT_BOLD)
elseif face=="i" then
cairo_select_font_face(cr,name,CAIRO_FONT_SLANT_ITALIC,CAIRO_FONT_WEIGHT_NORMAL)
elseif face=="bi" then
cairo_select_font_face(cr,name,CAIRO_FONT_SLANT_ITALIC,CAIRO_FONT_WEIGHT_BOLD)
end
cairo_set_font_size(cr,size)
end
function hexcolor(hexcolort)
local col=hexcolort.c	or default_hex_color	or 0xffffff
local a=hexcolort.a	or default_alpha	or 1
local r,g,b=((col/0x10000) % 0x100)/255,((col/0x100) % 0x100)/255,(col % 0x100)/255
cairo_set_source_rgba(cr,r,g,b,a)
end
function text(textt)
local x=textt.x 		or 100
local y=textt.y 		or 100
local t=textt.t 		or "set txt"
local hj=textt.hj 		or default_horizontal_justify		or "l"
local vj=textt.vj 		or default_vertical_justify		or "n"
local r=textt.r			or default_rotation			or 0
cairo_text_extents(cr,t,extents)
local wx=extents.x_advance
local wd=extents.width
local hy=extents.height
local bx=extents.x_bearing
local by=extents.y_bearing+hy
--hl-- l=left, c=center, r=right
if hj=="l" then
xa=x-bx
rad=0
elseif hj=="c" then
xa=x-((wx-bx)/2)-bx
rad=(wx-bx)/2
elseif hj=="r" then
xa=x-wx
rad=wx-bx
else
print ('hj not set correctly for text: '..t..' - "l", "c" or "r"')
xa=0
rad=0
end
--vj-- n=normal, nb=normal-ybearing, m=middle, mb=middle-ybearing, t=top
if vj=="n" then
ya=y
rad2=0
ry=by
elseif vj=="nb" then
ya=y-by
rad2=-by
ry=by
elseif vj=="m" then
ya=y+((hy-by)/2)
rad2=((hy-by)/2)
ry=((hy-by)/2)-by
elseif vj=="mb" then
ya=y+(hy/2)-by
rad2=(hy/2)-by
ry=((hy-by)/2)-by
elseif vj=="t" then
ya=y+hy-by
rad2=hy-by
ry=0+by
else
print ('vj not set correctly for text: '..t..' - "n", "nb", "m", "mb" or "t"')
ya=0
rad2=0
ry=0
end
--rotation
if r~=0 then
local x2,y2=pt(x,y,rad2,r-180)
local x1,y1=pt(x2,y2,rad,r-90)
cairo_save (cr)
cairo_translate (cr,x1,y1)
cairo_rotate(cr,(math.pi/180)*r)
cairo_show_text (cr,t)
cairo_stroke (cr)
cairo_restore (cr)
else
cairo_move_to (cr,xa,ya)
cairo_show_text (cr,t)
cairo_stroke (cr)
end--if ro
--set non local variables to nil
xa=nil;ya=nil;rad=nil;rad2=nil;ry=nil
end--function text ##################################################### 

Many Thanks.   cool

Offline

#415 2017-02-14 19:06:34

damo
....moderator....
Registered: 2015-08-20
Posts: 5,246

Re: Show us your conky

unklar wrote:

I have here a conky of ragamatrix from the crunchbang forum.

https://cdn.scrot.moe/images/2017/02/14/screenFetch-2017-02-14_17-11-49.th.png

My knowledge of LUA is modest. Therefore, I can not find where I need to adjust the colors to display the seconds pointer in RED.

@ragamatrix or anyone else, could please help?  smile
.....
Many Thanks.   cool

Is this it?

--second hand
cairo_set_line_width(cr,2)
cairo_arc(cr,center_x,center_y,10,0,(360*d_math))
cairo_set_source_rgba(cr,1,1,1,1)   <----- change to (cr,1,0,0,1)

Last edited by damo (2017-02-14 19:09:01)


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#416 2017-02-14 20:25:46

unklar
Member
Registered: 2015-10-31
Posts: 949

Re: Show us your conky

^ excellent,
thanks damo for the slap. smile

xplanet2.th.jpg

Offline

#417 2017-02-14 20:58:28

damo
....moderator....
Registered: 2015-08-20
Posts: 5,246

Re: Show us your conky

^ Geany -> Ctrl-F -> "second"   wink  angel


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#418 2017-02-26 02:54:23

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

Re: Show us your conky

Eraph wrote:

Well I've spent the evening hacking about with my Conky configuration, having a look at what additional information I could show on it. In particular I was interested in showing battery information, and I discovered network strength and upload/download graphs, so it's looking pretty dang delicious now. Click the thumbnail for the full desktop view. Conky code follows.

One thing I'm interested in now is getting rid of the notification bar at the top of my screen. The only thing I really need from it is the network connection tool - if I want to connect to someone else's WiFi, I'd be pretty stuffed. Is there an alternative tool I could install that doesn't rely on being present in the notification bar? Everything else I can do without.

http://pumarax.rakhama.com/misc/screenshots/VanessaConky.png

# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html
#
# For commands available below TEXT check:
# http://conky.sourceforge.net/variables.html

# Bunsen Labs Conky help threads
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424

# beta tested by: smacz
# Enjoy! :)

# pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc" &
###  Begin Window Settings  #####################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Default 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 50

minimum_size 200 0  ### width | height
maximum_width 200

gap_x 20    ### left | right
gap_y 45    ### up | down

alignment tr
#######################  End Window Settings  ###
###  Font Settings  #############################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Ohsnap:normal:size=9
#xftfont Liberation Sans:size=9

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

uppercase no
#########################  End Font Settings  ###
###  Colour Settings  ###########################
draw_shades no #yes
default_shade_color 505055

draw_outline no # amplifies text if yes
default_outline_color 505055

default_color 505055 # Grey
color0 811400 # Blood
#######################  End Colour Settings  ###
###  Borders Section  ###########################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15 40
#######################  End Borders Section  ###
###  Miscellaneous Section  #####################
# Boolean value, if true, Conky will be forked to background when started.
background yes

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

# change GiB to G and MiB to M
short_units yes

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

#   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  ###
#### ${font Monospace:bold:size=10}${alignc}${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh}
update_interval 1

TEXT
${color}${alignc}${exec whoami}@${nodename}
${hr}
#Host:${alignr}${nodename}
Kernel:${alignr}${kernel}
Uptime:${alignr}${uptime}
UTC:${alignr}${utime %H:%M}

${color}${alignc}P O W E R
${hr}
Power:${alignr}${battery BAT1}
$color0${battery_bar BAT1}
${color}Remaining:${alignr}${battery_time BAT1}

${alignc}M E M O R Y
${hr}
${goto 60}Used${alignr}Size
SSD${goto 60}${fs_used /}${alignr}${fs_size /}
$color0${fs_bar /}
#Home${goto 60}${fs_used /home}${alignr}${fs_size /home}

$color${goto 60}MEM${alignr}MAX
RAM${goto 60}${mem}${alignr}${memmax}
$color0$membar
$swapbar
${color}Swap${goto 60}${swap}${alignr}${swapmax}

${alignc}C P U
${hr}
CPU:${alignr}Intel Core i7-3537U
${goto 60}Used${alignr 30}GHz${alignr}Temp
Avg${goto 60}${if_match ${cpu cpu0}<10}  ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%${alignr 30}${freq_g}\
${alignr}${hwmon 0 temp 1}°C
$color0${cpubar cpu0}
${cpugraph cpu0}

${color}${alignc}N E T W O R K
${hr}
IP Address:${alignr}${addr wlan0}
SSID:${alignr}${wireless_essid wlan0}
${color0}${wireless_link_bar wlan0}
${color}Download:${alignr}${downspeed wlan0}
${color0}${downspeedgraph wlan0}
${upspeedgraph wlan0}
${color}Upload:${alignr}${upspeed wlan0}

I like this! It works nicely with the red flame bl wallpaper. I did make 2 changes

1. CPU - To report the Core 2 in my Dell D630
2. Changed battery from BAT1 to just {batterybar} which displays the battery info correctly on my system

You did a nice job on this.

Oh and hi guys, I'm back (again). Been swamped in the Windows sysadmin world, no time for BL lately but that's changing.

EDIT: Might as well toss in something for you guys to look at.

2017-02-25-19-41-21_scrot.th.png

Last edited by Temetka (2017-02-26 03:43:39)


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#419 2017-02-26 18:49:42

ragamatrix
Member
Registered: 2015-10-04
Posts: 411

Re: Show us your conky

unklar wrote:

@ragamatrix or anyone else, could please help?  smile

Sorry I was in the mountains without internet acces... Glad that you find a solution wink

Offline

#420 2017-02-27 20:28:26

ohnonot
...again
Registered: 2015-09-29
Posts: 4,159
Website

Re: Show us your conky

Temetka wrote:

EDIT: Might as well toss in something for you guys to look at.

https://cdn.scrot.moe/images/2017/02/26/2017-02-25-19-41-21_scrot.th.png

nice, clean, simple.
but oh god it makes my fingers itch to look at the screenshot.
would take me about 30s to adjust the conky color to the flame:
a) grab the flame color with gcolor*
2) geany => ctrl+h => replace all instances of <someshadeofred> with <anothershadeofred>
=> satisfaction!

Offline

#421 2017-03-21 05:47:51

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

Re: Show us your conky

ohnonot wrote:
Temetka wrote:

EDIT: Might as well toss in something for you guys to look at.

https://cdn.scrot.moe/images/2017/02/26/2017-02-25-19-41-21_scrot.th.png

nice, clean, simple.
but oh god it makes my fingers itch to look at the screenshot.
would take me about 30s to adjust the conky color to the flame:
a) grab the flame color with gcolor*
2) geany => ctrl+h => replace all instances of <someshadeofred> with <anothershadeofred>
=> satisfaction!

I agree with you. But:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gcolor

So now what?


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#422 2017-03-21 06:00:07

damo
....moderator....
Registered: 2015-08-20
Posts: 5,246

Re: Show us your conky

Temetka wrote:

....
So now what?

You do...

$ apt-cache search gcolor
gcolor2 - Simple GTK2 color selector and picker

Or "Menu -> Help&Resources -> Debian -> Package Search"


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#423 2017-03-21 09:17:28

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

Re: Show us your conky

TIL about apt-cache search

Thanks! Got it installed. smile


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#424 2017-03-22 06:39:10

ohnonot
...again
Registered: 2015-09-29
Posts: 4,159
Website

Re: Show us your conky

ohnonot wrote:

gcolor*

expands to gcolor2 gcolor3
(gcolor3 is not available in jessie i guess)

Offline

#425 2017-03-22 07:57:05

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Show us your conky

ohnonot wrote:

(gcolor3 is not available in jessie i guess)

That's Unia's version, isn't it?

https://github.com/Hjdskes/gcolor3

I don't think Debian package that (yet) sad


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

Board footer

Powered by FluxBB