|
|
- #!/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
-
|