X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/996bebf6aa20839740113d8509eb49e82ced5966..4319a2ff7299d2b677c709fdcee29e5444d83284:/.xsession diff --git a/.xsession b/.xsession index 95821d3..4ca6c84 100755 --- a/.xsession +++ b/.xsession @@ -1,5 +1,10 @@ -[ -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 & -[ -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