https://github.com/yaaama/mace
Simple shell wrapper script for Doom Emacs, Emacsclient and the daemon.
https://github.com/yaaama/mace
cli doom-emacs emacs emacs-daemon script shell shell-script wrapper
Last synced: 4 months ago
JSON representation
Simple shell wrapper script for Doom Emacs, Emacsclient and the daemon.
- Host: GitHub
- URL: https://github.com/yaaama/mace
- Owner: yaaama
- Created: 2022-12-31T18:27:42.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-11-09T10:33:55.000Z (7 months ago)
- Last Synced: 2025-11-09T12:19:42.533Z (7 months ago)
- Topics: cli, doom-emacs, emacs, emacs-daemon, script, shell, shell-script, wrapper
- Language: Shell
- Homepage:
- Size: 31.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Table of Contents**
- [mace](#mace)
- [What is it for?](#what-is-it-for)
- [Options](#options)
# mace
**"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.
# What is it for?
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.
# Options
- 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 for `doom upgrade`.
- `-ds` Alias for `doom sync`.
- `-dsu` Alias for `doom sync`.
- `-db` Alias for `doom build`.
- `-dp` Alias for `doom purge`.
- `-dd` Alias for `doom doctor`.