Browse Source

Cleanup config

main
parent
commit
50c50c9508
  1. 29
      README.org
  2. 2
      hosts/acernitro.el
  3. 2
      modules/core.el
  4. 3
      modules/projects.el

29
README.org

@ -159,30 +159,32 @@ Load all of the enabled modules:
Each host system that runs Emacs has a file defined in the =hosts/= sub directory, following the pattern of ~$HOSTNAME.el~. All of the configurations are defined within this file, the values of which are read from by the other modules during startup and installation. This does *not* cover hosts that are controlled via =TRAMP=, as that will be covered in another section. Each host system that runs Emacs has a file defined in the =hosts/= sub directory, following the pattern of ~$HOSTNAME.el~. All of the configurations are defined within this file, the values of which are read from by the other modules during startup and installation. This does *not* cover hosts that are controlled via =TRAMP=, as that will be covered in another section.
** Virtualbox
** Acernitro
:PROPERTIES: :PROPERTIES:
:header-args: :tangle hosts/virtualbox.el
:header-args: :tangle hosts/acernitro.el
:END: :END:
The first configuration, which was built using the Ubuntu 20.04 LTS server edition. I decided to incorporate =flatpaks= into this build.
Configure the browser.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq dotfiles/browser "flatpak run org.mozilla.firefox") (setq dotfiles/browser "flatpak run org.mozilla.firefox")
#+end_src #+end_src
** Acernitro
:PROPERTIES:
:header-args: :tangle hosts/acernitro.el
:END:
This machine has a screen with a very high =DPI=, requiring modification to ~dotfiles/font-size~.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq dotfiles/browser "flatpak run org.mozilla.firefox")
(setq dotfiles/font-size 132)
#+end_src #+end_src
This machine has a screen with a very high =DPI=, requiring modification to ~dotfiles/font-size~.
** Virtualbox
:PROPERTIES:
:header-args: :tangle hosts/virtualbox.el
:END:
The first configuration, which was built using the Ubuntu 20.04 LTS server edition. I decided to incorporate =flatpaks= into this build.
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; (setq dotfiles/font-size 144)
(setq dotfiles/browser "flatpak run org.mozilla.firefox")
#+end_src #+end_src
* Modules * Modules
@ -293,7 +295,7 @@ Emacs' default user interface is horrendous, but with less than 10 lines of code
(org-image-actual-width nil) (org-image-actual-width nil)
(org-directory dotfiles/home) (org-directory dotfiles/home)
(org-src-preserve-indentation t) (org-src-preserve-indentation t)
(org-todo-keywords '((sequence "TODO" "WAIT" "DONE")))
(org-todo-keywords '((sequence "TODO" "START" "WAIT" "DONE")))
:config (require 'org-tempo) :config (require 'org-tempo)
(add-to-list 'org-structure-template-alist '("s" . "src")) (add-to-list 'org-structure-template-alist '("s" . "src"))
(add-to-list 'org-structure-template-alist '("q" . "quote")) (add-to-list 'org-structure-template-alist '("q" . "quote"))
@ -560,7 +562,7 @@ Place runtime tweaks behind =SPC t=.
I use Emacs as a Desktop Environment with the [[https://github.com/ch11ng/exwm][exwm]] package. It allows Emacs to function as a complete tiling window manager for =X11=. My workflow includes launching the window manager with =xinitrc=, without the use of a display manager, controlling *everything* within Emacs. I use Emacs as a Desktop Environment with the [[https://github.com/ch11ng/exwm][exwm]] package. It allows Emacs to function as a complete tiling window manager for =X11=. My workflow includes launching the window manager with =xinitrc=, without the use of a display manager, controlling *everything* within Emacs.
#+begin_src conf :tangle config/xinitrc #+begin_src conf :tangle config/xinitrc
exec dbus-launch --exit-with-session flatpak run emacs -mm --debug-init
exec dbus-launch --exit-with-session emacs -mm --debug-init
#+end_src #+end_src
*** Email *** Email
@ -969,8 +971,7 @@ An IDE like experience (or better) can be achieved in Emacs using two *Microsoft
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package lsp-mode (use-package lsp-mode
:commands (lsp lsp-deferred) :commands (lsp lsp-deferred)
:custom (gc-cons-threshold 1000000000)
(lsp-idle-delay 0.500))
:custom (lsp-idle-delay 0.500))
#+end_src #+end_src
[[https://emacs-lsp.github.io/lsp-ui/][lsp-ui]] provides UI improvements for =lsp-mode=. [[https://emacs-lsp.github.io/lsp-ui/][lsp-ui]] provides UI improvements for =lsp-mode=.

2
hosts/acernitro.el

@ -1,3 +1,3 @@
(setq dotfiles/browser "flatpak run org.mozilla.firefox") (setq dotfiles/browser "flatpak run org.mozilla.firefox")
;; (setq dotfiles/font-size 144)
(setq dotfiles/font-size 132)

2
modules/core.el

@ -42,7 +42,7 @@
(org-image-actual-width nil) (org-image-actual-width nil)
(org-directory dotfiles/home) (org-directory dotfiles/home)
(org-src-preserve-indentation t) (org-src-preserve-indentation t)
(org-todo-keywords '((sequence "TODO" "WAIT" "DONE")))
(org-todo-keywords '((sequence "TODO" "START" "WAIT" "DONE")))
:config (require 'org-tempo) :config (require 'org-tempo)
(add-to-list 'org-structure-template-alist '("s" . "src")) (add-to-list 'org-structure-template-alist '("s" . "src"))
(add-to-list 'org-structure-template-alist '("q" . "quote")) (add-to-list 'org-structure-template-alist '("q" . "quote"))

3
modules/projects.el

@ -1,7 +1,6 @@
(use-package lsp-mode (use-package lsp-mode
:commands (lsp lsp-deferred) :commands (lsp lsp-deferred)
:custom (gc-cons-threshold 1000000000)
(lsp-idle-delay 0.500))
:custom (lsp-idle-delay 0.500))
(use-package lsp-ui (use-package lsp-ui
:after lsp :after lsp

Loading…
Cancel
Save