From 13311fe3e440e59e466d104ac507a0c2c7a1f4b1 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 9 Jan 2026 23:36:35 -0600 Subject: feat(dirvish): add project shortcuts and remove scratch font override Added dirvish quick-access shortcuts for homelab, kit, and nextjob projects. Removed 16pt font size override from scratch buffer startup hook. --- modules/dirvish-config.el | 3 +++ modules/system-utils.el | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/dirvish-config.el b/modules/dirvish-config.el index 5577b9f1..784d6c36 100644 --- a/modules/dirvish-config.el +++ b/modules/dirvish-config.el @@ -240,6 +240,9 @@ regardless of what file or subdirectory the point is on." ("pl" "~/projects/elibrary/" "project elibrary") ("pf" "~/projects/finances/" "project finances") ("pjr" "~/projects/jr-estate/" "project jr-estate") + ("ph" "~/projects/homelab/" "project homelab") + ("pk" "~/projects/kit/" "project kit") + ("pn" "~/projects/nextjob/" "project nextjob") ("ps" ,(concat pix-dir "/screenshots/") "pictures screenshots") ("pw" ,(concat pix-dir "/wallpaper/") "pictures wallpaper") ("px" ,pix-dir "pictures directory") diff --git a/modules/system-utils.el b/modules/system-utils.el index f5af18de..1bd7f015 100644 --- a/modules/system-utils.el +++ b/modules/system-utils.el @@ -194,12 +194,11 @@ Logs output and exit code to buffer *external-open.log*." ;; Set scratch buffer to org-mode (setopt initial-major-mode 'org-mode) -;; Move cursor to end of scratch buffer on startup and set font size to 16pt +;; Move cursor to end of scratch buffer on startup (add-hook 'emacs-startup-hook (lambda () (when (get-buffer "*scratch*") (with-current-buffer "*scratch*" - (buffer-face-set :height 160) ; 160 = 16pt (height is in 1/10pt units) (goto-char (point-max)))))) ;;; --------------------------------- Dictionary -------------------------------- -- cgit v1.2.3