diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-01-02 12:49:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-01-02 12:49:27 -0300 |
commit | 07234cc43a097cdec65461aa9f09e680a928befb (patch) | |
tree | 202bbe4948a5d5e9db28aa8c1ebc90df0bcdec6c | |
parent | f592693601ea5acdaffd4510b8115bd589a3b7f8 (diff) | |
download | xsession-07234cc43a097cdec65461aa9f09e680a928befb.tar.gz xsession-07234cc43a097cdec65461aa9f09e680a928befb.tar.bz2 |
Feat: support for nm-tray
-rwxr-xr-x | xsessionrc.dot.link | 6 |
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 |