restructured document

This commit is contained in:
paul-loedige
2024-05-13 15:36:10 +02:00
parent 63f5814493
commit 369ec5c570
+78 -63
View File
@@ -21,8 +21,8 @@
- [[#alacrittytoml][alacritty.toml]]
- [[#package-management][Package Management]]
- [[#yay][Yay]]
- [[#package-installation][Package Installation]]
- [[#update-package-repositories][Update Package Repositories]]
- [[#package-installation][Package Installation]]
- [[#base-system][Base System]]
- [[#arch-linux][Arch Linux]]
- [[#network-manager][Network Manager]]
@@ -125,6 +125,7 @@
- [[#yt-dlp][yt-dlp]]
- [[#zip][zip]]
- [[#misc][Misc]]
- [[#latex][LaTeX]]
- [[#cups][CUPS]]
- [[#darktable][Darktable]]
- [[#eye-of-gnome-image-viewer][Eye of GNOME Image Viewer]]
@@ -142,6 +143,7 @@
- [[#spotify][Spotify]]
- [[#virtualbox][Virtualbox]]
- [[#teamviewer][Teamviewer]]
- [[#anki][Anki]]
- [[#manual-tasks-after-tangling][Manual Tasks after tangling]]
- [[#other-todos][Other TODOs]]
- [[#dunst][dunst]]
@@ -466,6 +468,10 @@ Include = /etc/pacman.d/mirrorlist
Include = /etc/pacman.d/mirrorlist
#+end_src
** Update Package Repositories
#+begin_src shell :tangle update.sh
yay -Sy
#+end_src
** Package Installation
remove all packages not in ~pkg-list.txt~
#+begin_src shell :tangle update.sh
@@ -490,10 +496,6 @@ and install the packages specified in ~pkg-list.txt~
yay -S --needed `grep -v '^#' pkg-list.txt`
#+end_src
** Update Package Repositories
#+begin_src shell :tangle update.sh
yay -Sy
#+end_src
* Base System
** Arch Linux
the following packages are required for basic operation and should never be deleted
@@ -1810,7 +1812,7 @@ export PATH=$PATH:~/.config/emacs/bin
;;layout ; auie,ctsrnm is the superior home row
:completion
company ; the ultimate code completion backend
(company +tng) ; the ultimate code completion backend
;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine...
;;ivy ; a search engine for love and life
@@ -2047,65 +2049,10 @@ and configure it
#+end_src
*** TODO LaTeX
install texlive
#+begin_src conf :tangle pkg-list.txt
biber
texlive-basic
texlive-bibtexextra
texlive-binextra
texlive-context
texlive-fontsextra
texlive-fontsrecommended
texlive-fontutils
texlive-formatsextra
texlive-games
texlive-humanities
texlive-langarabic
texlive-langchinese
texlive-langcjk
texlive-langcyrillic
texlive-langczechslovak
texlive-langenglish
texlive-langeuropean
texlive-langfrench
texlive-langgerman
texlive-langgreek
texlive-langitalian
texlive-langjapanese
texlive-langkorean
texlive-langother
texlive-langpolish
texlive-langportuguese
texlive-langspanish
texlive-latex
texlive-latexextra
texlive-latexrecommended
texlive-luatex
texlive-mathscience
texlive-metapost
texlive-music
texlive-pictures
texlive-plaingeneric
texlive-pstricks
texlive-publishers
texlive-xetex
#+end_src
**** Set PDF Viewer
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
(setq +latex-viewers '(zathura))
#+end_src
**** Add auto-compile hook for TeX mode
Because TeX-command-run-all is an interactive command we need a helper function for the hook.
This function could also become useful if we ever want to extend the compile command
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
(defun custom-tex-compile ()
(interactive)
(TeX-command-run-all nil))
(add-hook 'TeX-mode-hook
(lambda ()
(add-hook 'after-save-hook #'custom-tex-compile nil t)))
#+end_src
**** Add shell-escape Toggle Command
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
(defun TeX-command-toggle-shell-escape ()
@@ -2436,6 +2383,7 @@ As desribed in [[https://github.com/microsoft/vscode/issues/187338][this Github
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode.remote-server
ms-vscode.cpptools-extension-pack
ms-iot.vscode-ros
ms-vscode.cpptools
ms-vscode.cmake-tools
@@ -2451,6 +2399,7 @@ njpwerner.autodocstring
#+end_src
Jupyter is also considered here
#+begin_src conf :tangle vscode-extensions.txt
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
@@ -2473,8 +2422,10 @@ for EXTENSION in $INSTALLED_EXTENSIONS; do
fi
done
for EXTENSION in $KEEP_LIST; do
echo "Installing VS Code Extension: $EXTENSION"
code --install-extension "$EXTENSION"
if ! echo "$INSTALLED_EXTENSIONS" | grep -q "^$EXTENSION$"; then
echo "Installing VS Code Extension: $EXTENSION"
code --install-extension "$EXTENSION"
fi
done
#+end_src
** NeoVim
@@ -2482,8 +2433,24 @@ done
*** Installation
#+begin_src conf :tangle pkg-list.txt
neovim
python-pynvim
tree-sitter-cli
#+end_src
additionally npm is needed for Conquer on Completion
#+begin_src conf :tangle pkg-list.txt
npm
#+end_src
*** TODO Configuration
this is not the proper way to do it
#+begin_src shell :tangle update.sh
if [ ! -L "$HOME/.config/nvim" ]; then
echo "Installing Neovim Config..."
ln -s ~/.dotfiles/neovim/.config/nvim ~/.config/nvim
ln -s ~/.dotfiles/neovim/.config/coc ~/.config/coc
fi
#+end_src
* Browser
** Firefox
*** Installation
@@ -3501,6 +3468,50 @@ yt-dlp
zip
#+end_src
* Misc
** LaTeX
install texlive
#+begin_src conf :tangle pkg-list.txt
biber
texlive-basic
texlive-bibtexextra
texlive-binextra
texlive-context
texlive-fontsextra
texlive-fontsrecommended
texlive-fontutils
texlive-formatsextra
texlive-games
texlive-humanities
texlive-langarabic
texlive-langchinese
texlive-langcjk
texlive-langcyrillic
texlive-langczechslovak
texlive-langenglish
texlive-langeuropean
texlive-langfrench
texlive-langgerman
texlive-langgreek
texlive-langitalian
texlive-langjapanese
texlive-langkorean
texlive-langother
texlive-langpolish
texlive-langportuguese
texlive-langspanish
texlive-latex
texlive-latexextra
texlive-latexrecommended
texlive-luatex
texlive-mathscience
texlive-metapost
texlive-music
texlive-pictures
texlive-plaingeneric
texlive-pstricks
texlive-publishers
texlive-xetex
#+end_src
** [[https://openprinting.github.io/cups/][CUPS]]
#+begin_src shell :tangle pkg-list.txt
cups
@@ -3569,6 +3580,10 @@ spotify-launcher
#+begin_src shell :tangle pkg-list.txt
teamviewer
#+end_src
** Anki
#+begin_src shell :tangle pkg-list.txt
anki-bin
#+end_src
* Manual Tasks after tangling
1. run ~update.sh~
2. log out and back in to update group permissions