Skip to content

Cycatz/dmenu-emacs-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dmenu-emacs-daemon

Start/kill the Emacs daemon fast and easily in rofi/dmenu

start.png

kill.png

Usage

If you are a rofi user, use the script under rofi directory; if you use dmenu, use the script under dmenu directory.

Usage:
- start: Choose the Emacs server and start the client to communicate it.
- kill:  Choose the Emacs server to kill.

Start

Usage '<script-name> start':
- -d <dir> or --server-dir <dir>
  - Specify the directory where Emacs server sockets live, default is '/run/user/1000/emacs/'.
- -t, -nw,  --tty
  - Create the client frame on the current terminal

Kill

Usage '<script-name> kill':
- -d <dir> or --server-dir <dir>
  - Specify the directory where Emacs server sockets live, default is '/run/user/1000/emacs/'.

Note

You still can pass environment variables into Emacs, like:

LC_CTYPE=zh_TW.UTF-8 TERM=xterm-direct ./rofi/emacs-daemon.sh start 

These variables are for my input method and true color support.

Issue

If you find the emacsclient can not start normally, it probably because the permission of the socket directory is not 700:

socket_dir_permission_error.png

About

Manage your Emacs daemons in rofi/dmenu style

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages