feat: add emacs css, change org agenda week count, add nix to zshrc

This commit is contained in:
Flinner Yuu 2026-06-26 13:34:37 +03:00
parent 2b80bbdd6c
commit 31593899d9
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
2 changed files with 5 additions and 1 deletions

View File

@ -1216,7 +1216,7 @@ From: https://yiufung.net/post/anki-org/
*** Weeks per semester *** Weeks per semester
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun org-week-to-class-week (week) (defun org-week-to-class-week (week)
(- week 0)) (- week 22))
(advice-add 'org-days-to-iso-week :filter-return (advice-add 'org-days-to-iso-week :filter-return
#'org-week-to-class-week) #'org-week-to-class-week)
@ -1394,6 +1394,7 @@ From: https://yiufung.net/post/anki-org/
("l" . evil-forward-char))) ("l" . evil-forward-char)))
#+end_src #+end_src
*** COMMENT org-ql *** COMMENT org-ql
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package helm-org-ql :after org-ql) (use-package helm-org-ql :after org-ql)
@ -2278,6 +2279,7 @@ Better Diff in header sizes
'(markdown-header-face-6 ((t (:inherit markdown-header-face :height 1.0)))) '(markdown-header-face-6 ((t (:inherit markdown-header-face :height 1.0))))
)) ))
(add-hook 'markdown-mode-hook 'auto-fill-mode) (add-hook 'markdown-mode-hook 'auto-fill-mode)
(setq markdown-css-paths '("https://cdn.jsdelivr.net/npm/water.css@2/out/water.css"))
;; (add-hook 'markdown-mode-hook 'outline-minor-mode) ;; (add-hook 'markdown-mode-hook 'outline-minor-mode)
#+end_src #+end_src

View File

@ -367,3 +367,5 @@ export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
[ -f "/home/lambda/.ghcup/env" ] && . "/home/lambda/.ghcup/env" # ghcup-env [ -f "/home/lambda/.ghcup/env" ] && . "/home/lambda/.ghcup/env" # ghcup-env
if [ -e /home/lambda/.nix-profile/etc/profile.d/nix.sh ]; then . /home/lambda/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer