From c099b63414a2d56da5c19290c55a1b4e8be0732d Mon Sep 17 00:00:00 2001 From: BirDt_ Date: Thu, 21 Aug 2025 17:04:00 +0800 Subject: [PATCH] emacs-everywhere and run as a daemon --- README.org | 20 ++++++++++++++++++++ ui.el | 5 +++++ 2 files changed, 25 insertions(+) diff --git a/README.org b/README.org index 812d42a..563a724 100644 --- a/README.org +++ b/README.org @@ -23,6 +23,26 @@ Here is the complete list of other optional dependencies: In addition, =git= is a _hard dependency_ that must be installed for Theurgy to work. +* Running as a Server +I make no claims of startup speed, and I recommend running Emacs as a server and connecting to it with the client. You can do this by running =emacs --daemon= in any terminal. + +If using =bspwm= and =sxhkd=, I suggest the following keyinds to make use of everything Theurgy has to offer: + +#+begin_src fundamental + super + Return + emacsclient --create-frame --eval "(progn (set-frame-parameter nil 'tab-bar-lines 0) (theurgy-main-shell))" + + super + alt + e + bspc rule -a '*' -o state=floating; emacsclient --eval "(emacs-everywhere)" + + super + e + emacsclient --create-frame + + super + ctrl + e + bspc rule -a '*' -o state=floating; emacsclient --create-frame -e '(progn (select-frame-set-input-focus (selected-frame)) (org-capture))' + +#+end_src + * Opinionated Stuff This is a list of files/flows that are very opinionated and you may wish to delete from the configuration, or heavily modify. diff --git a/ui.el b/ui.el index 94098d6..27569ac 100644 --- a/ui.el +++ b/ui.el @@ -174,6 +174,11 @@ (use-package flycheck :hook ((after-init . global-flycheck-mode))) +;; Emacs-everywhere +(use-package emacs-everywhere + :config + (setq emacs-everywhere-frame-parameters '((name . "emacs-everywhere") (height . 18) (width . 80) (tab-bar-lines . 0)))) + (provide 'ui) ;;; ui.el ends here