Browse Source

Remove dotfiles/install method

main
parent
commit
83b66c3567
  1. 3
      .gitignore
  2. 1
      modules/capture.org
  3. 17
      modules/core.org
  4. 2
      modules/development.org
  5. 1
      modules/terminal.org
  6. 3
      modules/website.org
  7. 1
      modules/writing.org

3
.gitignore

@ -1,7 +1,8 @@
*.el
*.elc
*.eln
*.eln.tmp
docs/static
docs/public
docs/content
docs/resources/_gen
docs/resources/_gen

1
modules/capture.org

@ -32,7 +32,6 @@ Create screencasts with =one-frame-per-action= GIF recording via *Emacs gif scre
#+begin_src emacs-lisp
(use-package gif-screencast
:init (dotfiles/install "scrot imagemagick")
:commands (gif-screencast-start-or-stop gif-screencast-toggle-pause)
:custom (gif-screencast-output-directory (concat dotfiles/home "docs/images/")))
#+end_src

17
modules/core.org

@ -107,23 +107,6 @@ Function that takes in a system and configuration file path, checks to see if th
(make-symbolic-link dot-file sys-file))))
#+end_src
** Install system packages
Define a method to install system packages on *Debian/Ubuntu* derived systems.
+ Use temporary buffer
+ Use ~-y~ option to silence unwanted prompts
+ Use ~--no-install-recommends~ option to minimize dependencies
#+begin_src emacs-lisp
(defun dotfiles/install (pkgs)
"Install system packages on Debian/Ubuntu systems."
;; (with-temp-buffer
;; (async-shell-command
;; (concat "sudo apt install -y --no-install-recommends " pkgs)))
)
#+end_src
* Resources
[fn:1] https://chrishayward.xyz/posts/immutable-emacs/

2
modules/development.org

@ -114,7 +114,6 @@ Add support for the *C/C++* family of languages via the *CCLS*[fn:7] language se
#+begin_src emacs-lisp
(use-package ccls
:init (dotfiles/install "ccls")
:hook ((c-mode c++-mode objc-mode cuda-mode) .
(lambda ()
(require 'ccls)
@ -163,7 +162,6 @@ Download and install *PlantUML*[fn:11], a text-based markup language for creatin
#+begin_src emacs-lisp
(use-package plantuml-mode
:after org
:init (dotfiles/install "default-jre")
:custom (plantuml-default-exec-mode 'jar)
(plantuml-jar-path "~/.local/bin/plantuml.jar")
(org-plantuml-jar-path (expand-file-name "~/.local/bin/plantuml.jar"))

1
modules/terminal.org

@ -52,7 +52,6 @@ Here's an example of what that looks like:
(use-package vterm
:commands (vterm)
:custom (vterm-always-compile-module t)
:init (dotfiles/install "cmake libtool libtool-bin")
:config (dotfiles/leader "v" '(vterm-other-window :which-key "Terminal")))
#+end_src

3
modules/website.org

@ -16,8 +16,7 @@ Download *Ox-hugo*[fn:5] and configure it for =one-post-for-file= to add support
#+begin_src emacs-lisp
(use-package ox-hugo
:after ox
:init (dotfiles/install "hugo"))
:after ox)
#+end_src
* Posts

1
modules/writing.org

@ -69,7 +69,6 @@ Download and install *Org roam*[fn:4], a plain text knowledge management system
#+begin_src emacs-lisp
(use-package org-roam
:hook (after-init . org-roam-mode)
:init (dotfiles/install "sqlite")
:custom (org-roam-directory org-directory)
(org-roam-capture-templates '())
(org-roam-dailies-capture-templates '())

Loading…
Cancel
Save