【发布时间】:2014-05-05 10:34:44
【问题描述】:
从wiki,我只将快捷方式文件夹更改为/home/quanta/.config/awesome/launchbar/,其中包含一个包含内容的测试文件:
[Desktop Entry]
Name=Firefox
Exec=firefox
Icon=/usr/share/icons/hicolor/24x24/apps/firefox.png
Position=1
这个小部件通过两种方式添加到wibox:
mywibox[s].widgets = {
--memwidget,
--cpuwidget,
{
mylauncher,
mytaglist[s],
mypromptbox[s],
layout = awful.widget.layout.horizontal.leftright
},
mylayoutbox[s],
volume_widget,
mytextclock,
s == 1 and mysystray or nil,
mytasklist[s],
launchbar,
layout = awful.widget.layout.horizontal.rightleft
}
或:
s == 1 and launchbar or nil,
但是重启之后没有任何反应。配置文件语法没问题。有什么想法吗?
【问题讨论】:
标签: lua launch awesome-wm