X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/e6c67861d344aef7a7ca9d3ee5d855cbc05d20c0..64e7d61578f5aa3b2d0c411e6cd39bc355e2d4e6:/.xsession?ds=inline diff --git a/.xsession b/.xsession index 4ca6c84..b2f5609 100755 --- a/.xsession +++ b/.xsession @@ -1,10 +1,12 @@ -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 +if [ -f "$HOME/.xinitrc" ]; then + . "$HOME/.xinitrc" fi + +[ -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 dunst)" ] && dunst & +# LC_ALL=C twm & +[ -x "$(command -v emacs)" ] && exec ssh-agent exwm -ib 0