awesome窗口管理器启动时自动运行 设定的程序

来源:互联网 发布:呼死你软件横行 编辑:程序博客网 时间:2024/06/06 20:04
<span style="font-size:18px;">autorun = trueautorunApps = {     "gnome-settings-daemon",    "nm-applet",}if autorun then    for app = 1, #autorunApps do        awful.util.spawn_with_shell(autorunApps[app])    endend</span>
把上面的代码粘帖到  ~/.config/awesome/rc.lua 文件里, 可以在 autorunApps里面加入 要运行的程序名, 保存下即可开机自动运行这些程序

0 0
原创粉丝点击