.xinitrc: Load EXWM from there

master
Pierre Neidhardt 2019-03-27 19:12:19 +01:00
parent 84ac6c9feb
commit 7c4a070f33
1 changed files with 5 additions and 5 deletions

View File

@ -14,12 +14,12 @@ fi
## Source environment config.
[ -f ~/.xprofile ] && . ~/.xprofile
## Launch session
if [ $# -eq 1 ] && command -v $1 >/dev/null 2>&1; then
exec $1
else
if [ $# -eq 0 ]; then
## With no argument, launch custom session.
conky | dzen2 -p -dock -ta l -fn "DejaVu Sans Mono" &
## `exwm-enable' has to be called before the frame is spawned.
emacs --daemon -f exwm-enable
emacs --daemon --eval "(require 'exwm)" -f exwm-enable
exec emacsclient -c
fi
exec "$@"