[+] conky - wyśrodkowanie linii na górze ekranu
: 02 lutego 2010, 13:27
Mój ~/.conkrc wygląda tak, że wszystko mam w 1 linii, którą chcę umieścić na samej górze na środku, niestety nie wiem zbytnio jak.
Próbowałem: itp. i nie działa. Pomoże mi ktoś poprawić mój .conkyrc by ta linia była wyśrodkowana? Wygląda on tak:
A tak wygląda zrzut. Jak widać linia jest wyrównana do lewej strony a chcę by była wyśrodkowana.

Próbowałem:
Kod: Zaznacz cały
${alignc}
Kod: Zaznacz cały
background yes
gap_x 0
gap_y 5
maximum_width 1270
# Use Xft?
use_xft yes
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:encoding=utf-8:size=9
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
#own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour hotpink
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color white
alignment top_middle
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
#use_spacer yes
TEXT
${color}|| ${color #ddaa00}${font :encoding=utf-8:size=9}${time %A} ${color}${font :encoding=utf-8:size=9}${color}${time %e %B %G} || ${color }${color slate grey}CPU: ${color #ddaa00}$cpu$color% || ${color slate grey}RAM: $color${membar 5,80} ${color #ddaa00}$mem $color|| ${color }${color slate grey}ROOT: $color${fs_bar 5,80 /} ${color #ddaa00}${fs_free /} $color|| ${color }${color slate grey}HOME: $color${fs_bar 5,80 /home} ${color #ddaa00}${fs_free /home} $color|| ${color }${color slate grey}TYTAN: $color${fs_bar 5,80 /mnt/tytan} ${color #ddaa00}${fs_free /mnt/tytan} $color|| ${color}${alignr}DL:${color #ddaa00}${downspeed wlan0}$color|| ${color}UL:${color #ddaa00}${upspeed wlan0}$color||
