LINUX.ORG.RU

статусбары в awesome


0

0

Добрый день. Не могу добавить статусбары в панель awesome 2.3.6. Мне нужны часы на верхней панели и conky в нижней.

Собираю conky без иксов:
./configure --disable-x11
make
make install

Добавляю часы и нижнюю панель в .awesomerc:

textbox clock
{
text_align = "right"
align = "right"
width = "110"
}
}
statusbar bottom
{
position = bottom
width = "" # statusbar width
height = "20"

textbox spacer1 { align = "left" text = "[" style { fg = "#ffffff" }}
textbox cpuload { align = "left" text = "" style { fg = "#ed7a14" }}
textbox spacer2 { align = "left" text = "] [" style { fg = "#ffffff" }}
textbox memory { align = "left" text = "" style { fg = "#eec036" }}
textbox spacer3 { align = "left" text = "] [" style { fg = "#ffffff" }}
textbox swap { align = "left" text = "" style { fg = "#ed7a14" }}
textbox spacer4 { align = "left" text = "] [" style { fg = "#ffffff" }}
textbox net { align = "left" text = "" style { fg = "#eec036" }}
textbox spacer5 { align = "left" text = "] [" style { fg = "#ffffff"}}
textbox bat { align = "left" text = "" style { fg = "#ed7a14" }}
textbox spacer6 { align = "left" text = "] [" style { fg = "#ffffff"}}
textbox hddt { align = "left" text = "" style { fg = "#eec036" }}
textbox spacer7 { align = "left" text = "] [" style { fg = "#ffffff"}}
textbox cput { align = "left" text = "" style { fg = "#ed7a14" }}
textbox spacer8 { align = "left" text = "] " style { fg = "#ffffff" }}
}

Редактирую .conkyrc:
background no
no_buffers yes
out_to_console yes
update_interval 5
uppercase no
use_spacer none
total_run_times 0
TEXT
0 widget_tell bottom cpuload text cpu: ${cpu}%
0 widget_tell bottom memory text mem: ${memperc}%
0 widget_tell bottom swap text swp: ${swapperc}%
0 widget_tell bottom net text down: ${totaldown eth0} up: ${totalup eth0}
0 widget_tell bottom bat text bat: ${execi 15 ~/bin/bat_cents.sh}%
0 widget_tell bottom hddt text hdd t: ${hddtemp /dev/sda}
0 widget_tell mystatusbar clock text ${time %a %d.%m.%Y %H:%M}

Добавляю conky в автозапуск в .xinitrc:
/usr/local/bin/conky | /usr/bin/awesome-client &

Появляется только пустое место на месте часов и пустые скобочки на нижней панели. Что не так? :(

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.