config: remove some personal doom stuff

This commit is contained in:
xeruf 2022-01-11 02:54:46 +01:00
parent 4c54f0fef7
commit 8bc39556d6
6 changed files with 46 additions and 28 deletions

View File

@ -451,5 +451,6 @@
"pauseBreaksShortcut": "",
"resumeBreaksShortcut": "",
"screen": "primary",
"timeToBreakInTray": false
"timeToBreakInTray": false,
"currentTimeInBreaks": false
}

View File

@ -1,10 +1,5 @@
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Some functionality uses this to identify you, e.g. GPG configuration, email
;; clients, file templates and snippets.
(setq user-full-name "Janek"
user-mail-address "27jf@pm.me")
;;;; VISUALS
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
@ -171,27 +166,15 @@ Version 2019-11-04 2021-02-16"
(defvar user-data-dir (if (file-exists-p "~/data/") "~/data" "/home/data") "Location of the main user data")
(load! "./user.el" nil t)
(load! "./local.el" nil t)
(setq backup-directory-alist (list (cons "." (concat doom-cache-dir "backup/")))
custom-emacs-data-dir (expand-file-name "data" doom-private-dir))
(let ((box (expand-file-name "2-standards/box/" user-data-dir)))
(if (file-exists-p box)
(setq org-directory box))
(if (and org-directory (file-exists-p org-directory))
(setq default-directory org-directory
org-roam-directory org-directory
org-agenda-files (directory-files-recursively org-directory "\\`[^.]*\\'" 't)))
)
(use-package! recentf
:config
(add-to-list 'recentf-exclude "writing\\/tug")
(add-to-list 'recentf-exclude "\\.\\(sync\\|stversions\\|stfolder\\)")
(add-to-list 'recentf-list (expand-file-name "4-incubator/downloads/" user-data-dir))
;(setq recentf-keep '(recentf-keep-default-predicate file-remote-p))
)
(use-package! projectile
:init
@ -222,6 +205,7 @@ Version 2019-11-04 2021-02-16"
"e" 'org-export-dispatch-custom-date
"E" 'org-export-repeat
"\\" 'org-ctrl-c-ctrl-c
:desc "Save and Export" "be" '(lambda () (interactive) (basic-save-buffer) (org-export-repeat))
:localleader
"C" 'org-clock-in
"j" 'org-insert-heading
@ -237,6 +221,7 @@ Version 2019-11-04 2021-02-16"
"ra" 'org-change-tag-in-region
"lk" 'counsel-org-link
"gR" 'org-mode-restart
";" 'comment-line
:desc "Set ID property" "lI" '(lambda () (interactive) (org-set-property "ID" nil))
:desc "Set Roam Aliases" "la" '(lambda () (interactive) (org-set-property "ROAM_ALIASES" nil))
:desc "Add tag" "mt" 'org-roam-tag-add
@ -623,6 +608,7 @@ Version 2019-11-04 2021-02-16"
(use-package! plantuml-mode ; Diagrams
:defer t
:config
; TODO plantuml file template
(setq plantuml-executable-path "nostderr"
plantuml-executable-args '("plantuml" "-headless")
plantuml-default-exec-mode 'jar

View File

@ -0,0 +1,6 @@
;;; user.el -*- lexical-binding: t; -*-
;; Some functionality uses this to identify you,
;; e.g. GPG configuration, email clients, file templates and snippets.
(setq user-full-name ""
user-mail-address "")

View File

@ -0,0 +1,21 @@
;;; user.el -*- lexical-binding: t; -*-
;; Some functionality uses this to identify you,
;; e.g. GPG configuration, email clients, file templates and snippets.
(setq user-full-name "Janek"
user-mail-address "27jf@pm.me")
(let ((box (expand-file-name "2-standards/box/" user-data-dir)))
(if (file-exists-p box)
(setq org-directory box
org-roam-directory org-directory
))
)
(use-package! recentf
:config
(add-to-list 'recentf-exclude "writing\\/tug")
(add-to-list 'recentf-exclude "\\.\\(sync\\|stversions\\|stfolder\\)")
(add-to-list 'recentf-list (expand-file-name "4-incubator/downloads/" user-data-dir))
;(setq recentf-keep '(recentf-keep-default-predicate file-remote-p))
)

View File

@ -64,7 +64,7 @@ arguments = "--rebase --autostash"
[linux]
# Arguments to pass yay when updating packages
#yay_arguments = "--nodevel"
yay_arguments = "--nodiffmenu"
#trizen_arguments = "--devel"
#enable_tlmgr = true
#emerge_sync_flags = "-q"

View File

@ -41,8 +41,6 @@ and configuration for ~less~ and ~fzf~.
- multitools :: ffmpeg imagemagick pandoc
- music :: mpd mpc ncmpc vlc phonon-qt5-vlc mpdris2
: mkdir -p ~/.local/state/mpd && systemctl --user enable --now mpd mpDris2
- music management :: puddletag beets picard ffmpegthumbnailer sox
: sudo npm install -g bpm
#+begin_src sh YAY for AUR
git clone https://aur.archlinux.org/yay.git /tmp/yay
cd /tmp/yay
@ -62,9 +60,12 @@ makepkg -si
: pip install beautifulsoup4
- experiments :: kakoune
** Graphical
- office :: libreoffice-fresh
- fonts :: fontpreview noto-fonts noto-fonts-emoji ttf-dejavu adobe-source-code-pro-fonts texlive-myriadpro-git
- video :: vlc obs-studio kdenlive
- music management :: puddletag beets picard ffmpegthumbnailer sox
: sudo npm install -g bpm
- music production :: lilypond lilypond-docs timidity++ chordpro-git musescore mixxx-beta-git
- office :: libreoffice-fresh emacs emacs-pdf-tools-git texlive-core texlive-latexextra context-bin
- communication :: zulip-desktop-bin ferdi-bin
- hacking :: etcher-bin
- health :: stretchly-xeruf-git redshift acpilight light
@ -73,10 +74,13 @@ makepkg -si
*** Desktop
- xorg :: xorg-xserver xorg-xkill xorg-setxkbmap xorg-xinit xterm xclip xprintidle light
- wayland :: sway azote
- kde :: plasma-desktop plasma-nm spectacle breeze systemsettings konsole ktorrent dolphin kdeplasma-addons kinfocenter partitionmanager kdeconnect kwallet-pam kwalletmanager ksshaskpass okular bluedevil
- kde :: okular spectacle
- kde desktop :: plasma-desktop plasma-nm breeze systemsettings ktorrent dolphin kdeplasma-addons kinfocenter partitionmanager kdeconnect kwallet-pam kwalletmanager ksshaskpass bluedevil
*** Emacs
emacs emacs-pdf-tools-git
texlive-core texlive-latexextra texlive-mode-doc
context-bin
: git clone --depth 1 https://github.com/hlissner/doom-emacs ${XDG_CONFIG_HOME:-$HOME/.config}/emacs && ${XDG_CONFIG_HOME:-$HOME/.config}/emacs/bin/doom -y install
: yay -Sy
- mail :: offlineimap mu
*** [[id:firefox][Firefox]] Addons
**** Password management