.xinitrc: Load EXWM from there
parent
84ac6c9feb
commit
7c4a070f33
10
.xinitrc
10
.xinitrc
|
@ -14,12 +14,12 @@ fi
|
||||||
## Source environment config.
|
## Source environment config.
|
||||||
[ -f ~/.xprofile ] && . ~/.xprofile
|
[ -f ~/.xprofile ] && . ~/.xprofile
|
||||||
|
|
||||||
## Launch session
|
if [ $# -eq 0 ]; then
|
||||||
if [ $# -eq 1 ] && command -v $1 >/dev/null 2>&1; then
|
## With no argument, launch custom session.
|
||||||
exec $1
|
|
||||||
else
|
|
||||||
conky | dzen2 -p -dock -ta l -fn "DejaVu Sans Mono" &
|
conky | dzen2 -p -dock -ta l -fn "DejaVu Sans Mono" &
|
||||||
## `exwm-enable' has to be called before the frame is spawned.
|
## `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
|
exec emacsclient -c
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exec "$@"
|
||||||
|
|
Loading…
Reference in New Issue