1
0
Fork 0

fix(emacs): reference new hostname

This commit is contained in:
Lucas Sta Maria 2025-08-19 18:37:58 +08:00
parent b41ca373e3
commit b6ae214283
Signed by: lucas
GPG key ID: F07FB16A826E3B47
2 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@
;;; Font
(defvar priime--font-config
(cond ((string= (system-name) "framework") '("JetBrains Mono Medium" "Roboto" 10 0.9))
(cond ((string= (system-name) "minji") '("JetBrains Mono Medium" "Roboto" 10 0.9))
((eq system-type 'gnu/linux) '("Roboto Mono Medium" "Roboto" 12 0.8))
((eq system-type 'darwin) '("Menlo" "Verdana" 12 1))
(t '("Roboto Mono" "Roboto" 10 0.8))))
@ -121,10 +121,10 @@
(ring-bell-function 'ignore)
(initial-scratch-message nil)
(split-height-threshold
(cond ((string= (system-name) "framework") 100)
(cond ((string= (system-name) "minji") 100)
(t 80)))
(split-width-threshold
(cond ((string= (system-name) "framework") 180)
(cond ((string= (system-name) "minji") 180)
(t 160)))
;; Editing
(indent-tabs-mode nil)
@ -195,7 +195,7 @@
(keymap-global-unset "C--")
(keymap-global-set "C--" #'priime-font-)
(when (string= (system-name) "framework")
(when (string= (system-name) "minji")
(setenv "DISPLAY" ":0")
(setenv "WAYLAND_DISPLAY" "wayland-1")
(setenv "XDG_SESSION_TYPE" "wayland")

View file

@ -34,7 +34,7 @@
(load-library "priime-ai")
;; Legacy
(when (equal (system-name) "framework")
(when (equal (system-name) "minji")
(load-library "mu4econfig"))
(load-library "latexconfig")
(load-library "gpgconfig")