On Wed, Jul 21, 2010 at 05:52:05AM +0000, Evo2 wrote: > [...] > By creating the config file, the default config is not used, so essentially > have > an empty configuration. Copy the default (should be /etc/xdg/awesome/rc.lua) > to > ~/.config/awesome/rc.lua and then make your modifications. > [...]
Or if you don't want to copy the rc.lua just to add nm-applet, use the
following as your rc.lua:
dofile("/etc/xdg/awesome/rc.lua")
os.execute("nm-applet &")
keep in mind though that this starts nm-applet whenever awesome is
restarted. That also includes screen geometry changes (i.e. xrandr
events), such as connecting another screen. The appropriate place to
start programs would be your ~/.Xsession or ~/.xinitrc, depending on
which is used by your login manager. A working bare bones session file
would look like this:
#!/bin/bash
nm-applet &
exec awesome
--
Gregor Best
pgpmZL5QHeJL0.pgp
Description: PGP signature
