emacs-everywhere and run as a daemon

This commit is contained in:
BirDt_ 2025-08-21 17:04:00 +08:00
parent 12492937d3
commit c099b63414
2 changed files with 25 additions and 0 deletions

View file

@ -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.

5
ui.el
View file

@ -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