From 07234cc43a097cdec65461aa9f09e680a928befb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 2 Jan 2022 12:49:27 -0300 Subject: Feat: support for nm-tray --- xsessionrc.dot.link | 6 ++++-- 1 file 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 -- cgit v1.2.3