aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/awesome/config.dot/awesome.link/programs.lua2
-rw-r--r--modules/awesome/config.dot/awesome.link/rc.lua3
-rwxr-xr-xmodules/profile/xprofile.dot.link2
3 files changed, 6 insertions, 1 deletions
diff --git a/modules/awesome/config.dot/awesome.link/programs.lua b/modules/awesome/config.dot/awesome.link/programs.lua
new file mode 100644
index 0000000..b98ab8b
--- /dev/null
+++ b/modules/awesome/config.dot/awesome.link/programs.lua
@@ -0,0 +1,2 @@
+-- Put here all startup command declarations
+awful.util.spawn_with_shell("wicd-gtk --tray")
diff --git a/modules/awesome/config.dot/awesome.link/rc.lua b/modules/awesome/config.dot/awesome.link/rc.lua
index d143993..767ddbe 100644
--- a/modules/awesome/config.dot/awesome.link/rc.lua
+++ b/modules/awesome/config.dot/awesome.link/rc.lua
@@ -363,3 +363,6 @@ client.add_signal("unfocus", function(c) c.border_color = beautiful.border_norma
-- Custom
dofile(configdir .. "/keys.lua")
+
+-- Startup commands
+dofile(configdir .. "/programs.lua")
diff --git a/modules/profile/xprofile.dot.link b/modules/profile/xprofile.dot.link
index d59da65..b679ed4 100755
--- a/modules/profile/xprofile.dot.link
+++ b/modules/profile/xprofile.dot.link
@@ -32,7 +32,7 @@ fi
# Additional applications depending on the machine type
if laptop-detect; then
- PROGRAMS="$PROGRAMS wicd-client"
+ PROGRAMS="$PROGRAMS"
else
PROGRAMS="$PROGRAMS"
fi