aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-07 21:42:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-07 21:42:04 -0200
commit069bc999fa092b733d359c2ef8998d68418b7d21 (patch)
treed86b371149df95e5b893f41849fb15ad50250008 /modules
parentf07e23a2d59789e69cb67d983e0dc9a6c4c845f7 (diff)
downloaddotfiles-069bc999fa092b733d359c2ef8998d68418b7d21.tar.gz
dotfiles-069bc999fa092b733d359c2ef8998d68418b7d21.tar.bz2
Strange, but having wicd-client on xprofile makes two tray icons appear; adding into awesome config
Diffstat (limited to 'modules')
-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