X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/9353204b7d4e3f92db61e21f1fc4c724b41db930..753f3ea721a3bd54db96abc7d6e063b82b6e8e96:/.xsession?ds=sidebyside diff --git a/.xsession b/.xsession index edce4c6..4ca6c84 100755 --- a/.xsession +++ b/.xsession @@ -1,6 +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 -a & -[ -x "$(command -v nm-applet)" ] && nm-applet & -[ -x "$(command -v compton)" ] && compton & -[ -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