Table of Contents
"mace" is a simple shell script for interacting with doom emacs
, emacsclient
and the emacs daemon.
I will add to this script when I need to, but it will remain a simple program.
I made this script to easily start up the emacs daemon, restart it, perform doom commands and just make it easier to open up emacsclient in either terminal or gui mode.
Please note that you will need dunst in order to receive a notification for when the daemon has restarted.
-
Execute
mace -h
to get a list of options. -
Running the script without a specified option (
mace
) will create start the daemon if one is not running, and then open a new frame connected to the daemon. -
-sr
Restarts the emacs daemon (after saving all buffers). A notification sent once done. -
-t
Opens emacs in terminal mode. It will not connect to the daemon. -
-g
Opens emacs in GUI mode. It will not connect to the daemon. -
-h
Prints out available commands. -
-deb
Starts emacs with--debug-init
flag. It will not connect to the daemon. -
-du
Alias fordoom upgrade
. -
-ds
Alias fordoom sync
. -
-dsu
Alias fordoom sync
. -
-db
Alias fordoom build
. -
-dp
Alias fordoom purge
. -
-dd
Alias fordoom doctor
.