This commit is contained in:
Jeffrey Serio 2024-06-07 04:04:33 -05:00
parent f5f27ab5cc
commit 3b1ef7add5
2 changed files with 25 additions and 59 deletions

View File

@ -8,6 +8,11 @@
(setq doom-user-dir "~/sync/doom/") (setq doom-user-dir "~/sync/doom/")
;; package-archives
(setq package-archives
'(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
(after! projectile (after! projectile
(setq projectile-project-root-files-bottom-up (setq projectile-project-root-files-bottom-up
(remove ".git" projectile-project-root-files-bottom-up))) (remove ".git" projectile-project-root-files-bottom-up)))
@ -15,19 +20,19 @@
;; This sets the frame dimensions and position take up the right half ;; This sets the frame dimensions and position take up the right half
;; of the screen when the host is default.ravenwatch, which has an ;; of the screen when the host is default.ravenwatch, which has an
;; ultra-wide monitor. ;; ultra-wide monitor.
(when (string= (system-name) "ravenwatch") ;; (when (string= (system-name) "moonshadow")
(setq default-frame-alist ;; (setq default-frame-alist
'((height . 55) ;; '((height . 55)
(width . 154) ;; (width . 154)
(left . 1720) ;; (left . 1720)
(top . 0) ;; (top . 0)
(vertical-scroll-bars . nil) ;; (vertical-scroll-bars . nil)
(horizontal-scroll-bars . nil)))) ;; (horizontal-scroll-bars . nil))))
;; This sets the frame to be fullscreen and maximized when the host is ;; ;; This sets the frame to be fullscreen and maximized when the host is
;; default.evergloam, which is my 15-inch screen laptop. ;; ;; default.evergloam, which is my 15-inch screen laptop.
(when (string= (system-name) "evergloam") ;; (when (string= (system-name) "evergloam")
(add-to-list 'default-frame-alist '(fullscreen . maximized))) ;; (add-to-list 'default-frame-alist '(fullscreen . maximized)))
;; Set fonts ;; Set fonts
(setq fontsize 18) (setq fontsize 18)
@ -355,6 +360,8 @@ If point was already at that position, move point to beginning of line."
dired-deletion-confirmer '(lambda (x) t) dired-deletion-confirmer '(lambda (x) t)
dired-recursive-deletes 'always)) dired-recursive-deletes 'always))
;; casual-dired
;(define-key dired-mode-map (kbd "C-o") #'casual-dired-tmenu)
;;;; dictionary ;;;; dictionary
@ -446,49 +453,6 @@ and switch to it."
(switch-to-buffer mvterm-buffer-name))) (switch-to-buffer mvterm-buffer-name)))
;;;; org-publish
(require 'ox-gemini)
(setq org-publish-project-alist
'(("techne"
:base-directory "~/sync/sites/techne-org"
:base-extension "org"
:publishing-directory "/sshx:jas@192.168.2.102:/home/jas/public/techne"
:publishing-function org-html-publish-to-html
:headline-levels 3
:section-numbers nil
:with-toc nil
:html-head "<link rel=\"stylesheet\"
href=\"style.css\"
type=\"text/css\"/>"
:html-postamble t
:html-postamble-format (("en"
"<p class=\"author\">Collected with ❤ by %a</p>
<p class=\"date\">Last updated: %T</p>
<p class=\"creator\">%c</p>
<p class=\"validation\">%v</p>")))
("gemini"
:base-directory "~/sync/sites/techne-org"
:base-extension "org"
:publishing-directory "/sshx:jas@192.168.2.102:/home/jas/public/gemini/hyperreal.coffee/techne"
:publishing-function org-gemini-publish-to-gemini)))
(setq org-publish-use-timestamps-flag nil)
;;;; nushell ;;;; nushell
(add-to-list 'auto-mode-alist '("\\.nu\\'" . nushell-ts-mode)) (add-to-list 'auto-mode-alist '("\\.nu\\'" . nushell-ts-mode))
;;;; tramp-mode
(require 'tramp)
;; change the default remote shell
(setq host-list '("/sshx:jas@192.168.1.12:"
"/sshx:jas@192.168.2.102:"))
(dolist (host host-list) (add-to-list 'tramp-connection-properties
(list (regexp-quote host)
"remote-shell" "/bin/bash")))

View File

@ -9,10 +9,9 @@
;(package! some-package) ;(package! some-package)
(package! apheleia) (package! apheleia)
(package! autothemer) (package! autothemer)
(package! casual-dired)
(package! catppuccin-theme) (package! catppuccin-theme)
(package! dockerfile-mode) (package! dockerfile-mode)
(package! elfeed)
(package! elfeed-protocol)
(package! elpher) (package! elpher)
(package! elpy) (package! elpy)
(package! evil-nerd-commenter) (package! evil-nerd-commenter)
@ -23,13 +22,16 @@
(package! helpful) (package! helpful)
(package! importmagic) (package! importmagic)
(package! just-mode) (package! just-mode)
(package! ledger-mode)
(package! license-templates) (package! license-templates)
(package! multi-vterm) (package! multi-vterm)
(package! nushell-mode :recipe (:host github :repo "mrkkrp/nushell-mode"))
(package! nushell-ts-mode :recipe (package! nushell-ts-mode :recipe
(:host github :repo "herbertjones/nushell-ts-mode")) (:host github :repo "herbertjones/nushell-ts-mode"))
(package! org-roam) ;(package! org)
(package! org-superstar) ;(package! org-superstar)
(package! ox-gemini) (package! ox-gemini)
(package! pdf-tools)
(package! python-docstring) (package! python-docstring)
(package! shell-pop) (package! shell-pop)
(package! systemd) (package! systemd)