aboutsummaryrefslogtreecommitdiff
path: root/xsessionrc.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'xsessionrc.dot.link')
-rwxr-xr-xxsessionrc.dot.link6
1 files changed, 4 insertions, 2 deletions
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link
index 4b7de2e..07cf2db 100755
--- a/xsessionrc.dot.link
+++ b/xsessionrc.dot.link
@@ -7,7 +7,7 @@
BACKGROUND=""
# Session applications
-PROGRAMS="xconky"
+PROGRAMS="xconky nm-tray"
# OS Version
OSVERSION="`cut -d . -f 1 /etc/debian_version`"
@@ -96,7 +96,9 @@ export SSH_ASKPASS="/usr/lib/ssh/x11-ssh-askpass"
# Start session applications
for program in $PROGRAMS; do
- $program &
+ if which $program &> /dev/null; then
+ $program &
+ fi
done
# Apply default keyboard configuration