You are not logged in.

#1 2009-02-13 01:17:38

andrew123456
Member
Registered: 2008-08-31
Posts: 32

conky alignr problems

hey, so i've been trying to use conky to add a simple to-do list to my current setup, but i'm having issues with the $alignr command. here's my command:


alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color 7A8072
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Sans:size=8
xftalpha 0.8
gap_x 0
gap_y -3
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window_class Conky
own_window yes
own_window_transparent yes
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
minimum_size 150 5
maximum_width 300
pad_percents 2

TEXT
${cpubar 4}
$alignr${execi 5 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}/$freq_g GHz:$cpu%
$alignr${battery_percent CMB0}% left

$alignr---
$alignr${execi 30 cat /home/andrew/.scripts/todo}

note the last line (the one i'm having issues with). when the file is multiple lines, the first one is aligned right and the rest are aligned left. any ideas? i'm assuming it's just a simple bracket issue.

Offline

Board footer

Powered by FluxBB