Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
|
|
# This is a thin wrapper around "doom" so that it can easily be run from dmenu
|
|
|
|
dunstify -r 57 -a "ξ Doom Emacs" "Running \"doom $@\""
|
|
$XDG_CONFIG_HOME/emacs/bin/doom $@
|
|
if [ "$?" = "0" ]; then
|
|
dunstify -r 57 -a "ξ Doom Emacs" "Finished \"doom $@\""
|
|
emacsclient -e '(kill-emacs)'
|
|
emacs --daemon && emacsclient -c --eval "(delete-frame)"
|
|
else
|
|
dunstify -r 57 -a "ξ Doom Emacs" "Failed \"doom $@\""
|
|
fi
|
|
|