You are not logged in.

#1 2016-05-31 09:18:29

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,709

subsolar-conky

The starting point here: https://forums.bunsenlabs.org/viewtopic … 548#p28548

Hello,

I tried the siduction in

inxi -S
System:    Host: sidLXDE Kernel: 4.5.5-towo.1-siduction-amd64 x86_64 (64 bit) Desktop: LXDE (Openbox 3.6.1)
           Distro: siduction 15.1.0 Paint It Black - lxde - (201601171107)

to build to.

Available are here:

fonts-cantarell
gnome-icon-theme-symbolic
conky-all(v1.9) gehalten mit apt-mark hold
inxi

the required packages

qdbus librsvg2-bin xmlstarlet gmt gmt-gshhg geoclue-2.0 geographiclib-tools python3-ephem gcalcli

pull 67 dependencies.
If someone is trying to Bunsen labs-hydrogen, it breaks probably the SYSTEM.
gmt-gshhg >backports
python3-ephem >unstable
gcalcli >unstable

Unfortunately, I have noticed only after the installation, the syntax of conky_1.10.
Original configuration file:
subsolar.conkyrc

conky.config = {
    gap_x = 5,
    gap_y = 0,
    alignment = 'top_left',
    border_inner_margin = 0,
    border_outer_margin = 0,
    draw_shades = false,
    double_buffer = true,
    own_window = true,
    own_window_type = 'desktop',
    own_window_transparent = true,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    own_window_argb_visual = true,
    own_window_argb_value = 255,
    update_interval = 1.0,
    use_xft = true,
    font = 'Mono:size=10',
    text_buffer_size = 8096,
    lua_load = '~/.conky/subsolar/subsolar.lua',
    lua_shutdown_hook = 'conky_shutdown',
    }

conky.config.lua_draw_hook_pre = 'conky_main ' .. conky.config.gap_x
resolution = io.popen("xrandr | fgrep '*'"):read("*l")
conky.config.minimum_width = tonumber(resolution:gmatch("(%d+)x")())
conky.config.minimum_height = tonumber(resolution:gmatch("x(%d+)")())

conky.text = [[
${lua_parse color accent}
${execpi 300 gcalcli --military --nocolor agenda}
]]

changed:

    gap_x 5
    gap_y 0
    alignment top_left
    border_inner_margin 0
    border_outer_margin 0
    draw_shades no
    double_buffer yes
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar,skip_pager  #sticky,
    own_window_argb_visual yes
    own_window_argb_value 255
    update_interval 1
    use_xft yes
    font Mono:size=10
    text_buffer_size 8096
    lua_load ~/.conky/subsolar/subsolar.lua
    lua_shutdown_hook conky_shutdown
    lua_draw_hook_pre conky_main .. conky.config.gap_x  

#conky.config.lua_draw_hook_pre conky_main .. conky.config.gap_x
#resolution io.popen("xrandr | fgrep '*'"):read("*l")
#conky.config.minimum_width tonumber(resolution:gmatch("(%d+)x")())
#conky.config.minimum_height tonumber(resolution:gmatch("x(%d+)")())

TEXT
${lua_parse color accent}
${execpi 300 gcalcli --military --nocolor agenda}

What am I doing wrong?
What I do not understand, is a key for the weather of: http://openweathermap.org
necessary and be entered in the lua-script?

Offline

#2 2016-06-01 12:50:24

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,709

Re: subsolar-conky

Thanks @ninlith, for the explanation. It is almost perfect! wink
screen.th.png

Offline

#3 2016-06-01 17:14:41

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,709

Re: subsolar-conky

@ninlith,

I have allowed myself, your hot Conky
to post in this forum.

Thank you so much!  smile

Offline

Board footer

Powered by FluxBB