X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/bb46373a82d50b7adbf710a116535c219f3d6741..30b5e6f0416b7ca2a71e52b3850d91e55867fd61:/.xsession?ds=inline diff --git a/.xsession b/.xsession index 15791ec..4ca6c84 100755 --- a/.xsession +++ b/.xsession @@ -1,4 +1,10 @@ -[ -x "$(command -v light-locker)" ] && light-locker --lock-on-suspend & -[ -x "$(command -v pasystray)" ] && pasystray & -[ -x "$(command -v nm-applet)" ] && nm-applet & -[ -x "$(command -v emacs)" ] && exec emacs -ib 0 +if [ "$(hostname)" = "jirud" ]; then + [ -f "/usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd" ] && /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd & + [ -x "$(command -v light-locker)" ] && light-locker --lock-on-suspend & + [ -x "$(command -v pasystray)" ] && pasystray -a & + [ -x "$(command -v nm-applet)" ] && nm-applet & + [ -x "$(command -v compton)" ] && compton & + [ -x "$(command -v emacs)" ] && exec emacs -ib 0 +else + startxfce4 +fi