You are not logged in.

#1 2016-12-08 20:04:46

Pomalo
Member
Registered: 2009-09-28
Posts: 17

Conky rss text align or default text align

Hi,

I'm trying to print a list of rss feed titles aligned right with conky with the code below, but only the first line is aligned right. Is there a way to set the default alignment to right? Is there a way to change the text alignment of the rss block?

Thanks!

conky.config = {
    alignment = 'bottom_right',
    background = false,
    border_width = 0,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = true,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'Bahamas:size=12',
    gap_x = 10,
    gap_y = 10,
    minimum_height = 5,
    minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    own_window_hints = 'below,skip_taskbar,skip_pager',
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false,
    double_buffer = true,
    own_window_transparent = true,
    own_window_colour = '000000',
    own_window_argb_visual = true,
    own_window_argb_value = 000,
    color0 = 'ff0066',
    color1 = '1a1a1a',
    color2 = 'cccccc',
    color3 = 'ff3399',
    color4 = '66ff00',
    color5 = '0066ff',
    color6 = 'ff6600'
}

conky.text = [[
$alignr${color0}Pacman updates:$color ${execpi 3600 checkupdates | wc -l}
$alignr${color0}Archlinux News:$color
${alignr}${rss https://www.archlinux.org/feeds/news/ 10 item_titles 7}
]]

Offline

Board footer

Powered by FluxBB