summaryrefslogtreecommitdiffstats
path: root/.xsession
diff options
context:
space:
mode:
authorAmin Bandali <mab@gnu.org>2020-01-25 20:13:18 -0500
committerAmin Bandali <mab@gnu.org>2020-01-25 20:13:18 -0500
commitc21be729603a719d7b1bf50f551c5214748cba78 (patch)
tree23ba8b22300180acd3861e05e89babbe8b3e43f0 /.xsession
parent74be7f18d68948367de54170342caa7bf5d29a56 (diff)
downloadconfigs-c21be729603a719d7b1bf50f551c5214748cba78.tar.gz
configs-c21be729603a719d7b1bf50f551c5214748cba78.tar.xz
configs-c21be729603a719d7b1bf50f551c5214748cba78.zip
switch to exwm on chaman
Diffstat (limited to '')
-rwxr-xr-x.xsession19
1 files changed, 10 insertions, 9 deletions
diff --git a/.xsession b/.xsession
index 4ca6c84..dbea518 100755
--- a/.xsession
+++ b/.xsession
@@ -1,10 +1,11 @@
-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 &
+[ -x "$(command -v emacs)" ] && exec exwm -ib 0