summaryrefslogtreecommitdiffstats
path: root/.xsession
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-10-09 11:20:03 -0400
committerAmin Bandali <bandali@gnu.org>2019-10-09 17:39:47 -0400
commite6c67861d344aef7a7ca9d3ee5d855cbc05d20c0 (patch)
treee7780c5db9dd66a8ccbdae73ce8274aaadc4e702 /.xsession
parent4fa43cd8ea13f6e7d915923ec2ee12fd629034be (diff)
downloadconfigs-e6c67861d344aef7a7ca9d3ee5d855cbc05d20c0.tar.gz
configs-e6c67861d344aef7a7ca9d3ee5d855cbc05d20c0.tar.xz
configs-e6c67861d344aef7a7ca9d3ee5d855cbc05d20c0.zip
fix jirud (exwm) setup
Diffstat (limited to '.xsession')
-rwxr-xr-x.xsession10
1 files changed, 10 insertions, 0 deletions
diff --git a/.xsession b/.xsession
new file mode 100755
index 0000000..4ca6c84
--- /dev/null
+++ b/.xsession
@@ -0,0 +1,10 @@
+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