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.

14 lines
422 B

  1. #!/bin/sh
  2. # This is a thin wrapper around "doom" so that it can easily be run from dmenu
  3. dunstify -r 57 -a "ξ Doom Emacs" "Running \"doom $@\""
  4. $XDG_CONFIG_HOME/emacs/bin/doom $@
  5. if [ "$?" = "0" ]; then
  6. dunstify -r 57 -a "ξ Doom Emacs" "Finished \"doom $@\""
  7. emacsclient -e '(kill-emacs)'
  8. emacs --daemon && emacsclient -c --eval "(delete-frame)"
  9. else
  10. dunstify -r 57 -a "ξ Doom Emacs" "Failed \"doom $@\""
  11. fi