diff --git a/config.org b/config.org index 4f72c16..b4ff7d4 100644 --- a/config.org +++ b/config.org @@ -17,6 +17,7 @@ - [[#arch-linux][Arch Linux]] - [[#networking][Networking]] - [[#man-pages-and-texinfo][Man Pages and Texinfo]] + - [[#build-tools][Build Tools]] - [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]] - [[#lightdm][LightDM]] - [[#gnome][GNOME]] @@ -30,8 +31,12 @@ - [[#bash][Bash]] - [[#themeing][Themeing]] - [[#doom-emacs-2][Doom Emacs]] +- [[#git][Git]] + - [[#installation][Installation]] + - [[#configuration][Configuration]] - [[#misc-programs][Misc Programs]] - [[#zathura][Zathura]] + - [[#nextcloud][Nextcloud]] * Prerequisites - Completed Arch Linux Installation @@ -60,7 +65,7 @@ contains all Arch and AUR packages #+end_src ** alias.sh -#+begin_src shell :tangle alias.sh +#+begin_src shell :tangle ~/alias.sh #!/bin/sh # DO NOT EDIT THIS FILE DIRECTLY # This is a file generated from a literate programing source file @@ -71,7 +76,7 @@ contains all Arch and AUR packages ** path.sh contains all modifications to the path variables -#+begin_src shell :tangle path.sh +#+begin_src shell :tangle ~/path.sh #!/bin/sh # DO NOT EDIT THIS FILE DIRECTLY # This is a file generated from a literate programing source file @@ -276,7 +281,7 @@ yay remove all packages not in ~pkg-list.txt~ #+begin_src shell :tangle update.sh # Get list of installed packages -INSTALLED_PACKAGES=$(yay -Qqe) +INSTALLED_PACKAGES=$(pacman -Qqe) # Read the list of packages to keep from the file KEEP_LIST=$(cat "pkg-list.txt") @@ -332,7 +337,11 @@ man-db man-pages texinfo #+end_src - +** Build Tools +#+begin_src shell :tangle pkg-list.txt +cmake +make +#+end_src * Desktop Environments and Window Manager ** [[https://wiki.archlinux.org/title/LightDM][LightDM]] install the required packages @@ -356,21 +365,62 @@ gnome #+end_src *** TODO GNOME programs #+begin_src shell :tangle pkg-list.txt +baobab +epiphany evince +gdm +gnome-backgrounds +gnome-calculator +gnome-calendar +gnome-characters +gnome-clocks gnome-color-manager +gnome-connections +gnome-console +gnome-contacts +gnome-control-center +gnome-disk-utility +gnome-font-viewer gnome-keyring +gnome-logs +gnome-maps +gnome-menus +gnome-music +gnome-remote-desktop gnome-session gnome-settings-daemon gnome-shell +gnome-shell-extensions +gnome-software +gnome-system-monitor +gnome-text-editor +gnome-tour +gnome-user-docs +gnome-user-share +gnome-weather +grilo-plugins gvfs +gvfs-afc gvfs-goa +gvfs-google +gvfs-gphoto2 +gvfs-mtp +gvfs-nfs +gvfs-smb +loupe +malcontent +nautilus +orca +ripgrep +rygel +simple-scan +snapshot sushi tecla totem tracker3-miners xdg-desktop-portal-gnome xdg-user-dirs-gtk -yay-debug yelp #+end_src * Text Editors @@ -394,7 +444,7 @@ if [ ! -d "/home/paul/.config/doom" ]; then fi #+end_src **** add to PATH -#+begin_src shell :tangle path.sh +#+begin_src shell :tangle ~/path.sh export PATH=$PATH:~/.config/emacs/bin #+end_src *** Doom Modules @@ -535,7 +585,7 @@ export PATH=$PATH:~/.config/emacs/bin ;;lean ; for folks with too much to prove ;;ledger ; be audit you can be ;;lua ; one-based indices? one-based indices - markdown ; writing docs for people to ignore + ;; markdown ; writing docs for people to ignore ;;nim ; python + lisp at the speed of c ;;nix ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel @@ -589,6 +639,13 @@ export PATH=$PATH:~/.config/emacs/bin **** Visual Settings ***** Font +install Ubuntu Mono +#+begin_src shell :tangle pkg-list.txt +ttf-ubuntu-font-family +ttf-ubuntu-mono-nerd +ttf-ubuntu-nerd +#+end_src +and activate it #+begin_src emacs-lisp :tangle ~/.config/doom/config.el (setq doom-font (font-spec :family "Ubuntu Mono" :size 16) doom-variable-pitch-font (font-spec :family "Ubuntu" :size 14)) @@ -614,6 +671,12 @@ Authentication information will be stored in a encrypted file that is part of my #+end_src *** Multilanguage Spellcheck Enables use of multiple dictionaries. In my case German and English +install dependencies +#+begin_src shell :tangle pgk-list.txt +hunspell-de +hunspell-en_us +#+end_src +and configure it #+begin_src emacs-lisp :tangle ~/.config/doom/config.el (with-eval-after-load "ispell" (setq ispell-program-name "hunspell") @@ -623,6 +686,48 @@ Enables use of multiple dictionaries. In my case German and English #+end_src *** TODO LaTeX +install texlive +#+begin_src shell :tangle pkg-list.txt +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 :tangle ~/.config/doom/config.el (setq +latex-viewers '(zathura)) @@ -641,6 +746,12 @@ This function could also become useful if we ever want to extend the compile com #+end_src *** Org Mode +install dependencies +#+begin_src shell :tangle pkg-list.txt +xclip +gnome-screenshot +graphviz +#+end_src **** Default Location #+begin_src emacs-lisp :tangle ~/.config/doom/config.el (setq org-directory "~/org/") @@ -790,8 +901,20 @@ In [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#citar] (add-to-list 'citar-file-open-functions '("pdf" . citar-file-open-external))) #+end_src -*** Python -**** TODO Set Debugger to debugpy +*** TODO Python +install dependencies +#+begin_src shell :tangle pkg-list.txt +python-isort +python-pipenv +python-pytest +miniconda3 +#+end_src +#+begin_src shell :tangle update.sh +if [ ! -e "/etc/profile.d/conda.sh" ]; then + sudo ln -s /opt/miniconda3/etc/profile.d/conda.sh /etc/profile.d/conda.sh +fi +#+end_src +**** Set Debugger to debugpy as per the [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/debugger#dap-python][Doom Emacs Documentation]] it is recommended to set the debugger used for python debugging to debugpy #+begin_src emacs-lisp :tangle ~/.config/doom/config.el (after! dap-mode @@ -814,12 +937,12 @@ neovim ZSH is used as the default shell ** Aliases *** Shutdown and Reboot -#+begin_src shell :tangle alias.sh +#+begin_src shell :tangle ~/alias.sh alias sn='shutdown now' alias rb='reboot' #+end_src *** Confirm before overwriting -#+begin_src shell :tangle alias.sh +#+begin_src shell :tangle ~/alias.sh alias cp="cp -i" alias mv='mv -i' alias rm='rm -i' @@ -829,7 +952,7 @@ alias rm='rm -i' #+begin_src shell :tangle pkg-list.txt git #+end_src -#+begin_src shell :tangle alias.sh +#+begin_src shell :tangle ~/alias.sh alias add='git add' alias addup='git add -u' alias addall='git add .' @@ -857,7 +980,7 @@ which *** Set as default shell #+begin_src shell :tangle update.sh if [ "$(basename "$SHELL")" != "zsh" ]; then - chsh $(which zsh) + chsh -s $(which zsh) fi #+end_src *** [[https://ohmyz.sh/][Oh-My-Zsh]] @@ -873,7 +996,7 @@ if [ ! -d "/home/paul/.oh-my-zsh" ]; then fi #+end_src **** Basic Configuration -#+begin_src shell ~/.zshrc +#+begin_src shell :tangle ~/.zshrc export ZSH="~/.oh-my-zsh" # Uncomment the following line to use case-sensitive completion. @@ -895,7 +1018,7 @@ ENABLE_CORRECTION="true" COMPLETION_WAITING_DOTS="true" #+end_src **** TODO [[https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins][Plugins]] -#+begin_src shell ~/.zshrc +#+begin_src shell :tangle ~/.zshrc # Which plugins would you like to load? # Standard plugins can be found in $ZSH/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/ @@ -926,17 +1049,17 @@ if [ ! -d "/home/paul/.oh-my-zsh/custom/themes/powerlevel10k" ]; then fi #+end_src set as zsh theme -#+begin_src shell .zshrc +#+begin_src shell :tangle .zshrc ZSH_THEME="powerlevel10k/powerlevel10k" #+end_src *** Configuration **** Source Aliases -#+begin_src shell ~/.zshrc +#+begin_src shell :tangle ~/.zshrc source alias.sh #+end_src **** Modify PATH -#+begin_src shell ~/.zshrc +#+begin_src shell :tangle ~/.zshrc source path.sh #+end_src **** [[https://github.com/dylanaraps/neofetch][neofetch]] @@ -945,7 +1068,7 @@ install neofetch #+end_src and start -#+begin_src shell ~/.zshrc +#+begin_src shell :tangle ~/.zshrc neofetch #+end_src ** [[https://www.gnu.org/software/bash/][Bash]] @@ -955,11 +1078,11 @@ bash #+end_src *** Configuration **** Source Aliases -#+begin_src shell ~/.bashrc +#+begin_src shell :tangle ~/.bashrc source alias.sh #+end_src **** Modify PATH -#+begin_src shell ~/.bashrc +#+begin_src shell :tangle ~/.bashrc source path.sh #+end_src **** [[https://github.com/dylanaraps/neofetch][neofetch]] @@ -968,7 +1091,7 @@ install neofetch #+end_src and start -#+begin_src shell ~/.bashrc +#+begin_src shell :tangle ~/.bashrc neofetch #+end_src @@ -984,6 +1107,23 @@ and then set it (setq doom-theme 'gruvbox-dark-hard) #+end_src +* Git +** Installation +#+begin_src shell :tangle pkg-list.txt +git +#+end_src +** Configuration +set user +#+begin_src shell :tangle ~/.gitconfig +[user] + name = paul-loedige + email = paul@gve-loedige.de +#+end_src +set default branch to =main= +#+begin_src shell :tangle ~/.gitconfig +[init] + defaultBranch = main +#+end_src * Misc Programs ** Zathura *** Installation @@ -994,3 +1134,7 @@ zathura #+begin_src shell :tangle ~/.config/zathura/zathurarc :mkdirp yes set synctex true #+end_src +** Nextcloud +#+begin_src shell :tangle pkg-list.txt +nextcloud-client +#+end_src