summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbh <qn+git@excalibur.computer>2026-06-11 18:42:10 +0800
committerbh <qn+git@excalibur.computer>2026-06-11 18:42:10 +0800
commit7e11a6e780a7832bf92c17c0e6233b36229658c0 (patch)
treef58266a655a300e8268ad677fe341302eb650d61
parentd3d4a5015fedde2d453b672f5de6cc5ed29d7d3f (diff)
Change fontHEADmaster
-rw-r--r--early-init.el2
-rw-r--r--init.el10
2 files changed, 6 insertions, 6 deletions
diff --git a/early-init.el b/early-init.el
index 6856ba8..a7e503d 100644
--- a/early-init.el
+++ b/early-init.el
@@ -29,7 +29,7 @@
;; Configure frame appearance BEFORE GUI initializes
;; This prevents the white flash on startup
(setq default-frame-alist
- '((font . "JetBrainsMono Nerd Font-10.5:weight=semi-bold:antialias=true:hinting=true:hintstyle=slight")
+ '((font . "0xProto Nerd Font-10.5:weight=semi-bold:antialias=true:hinting=true:hintstyle=slight")
(background-color . "#003636") ;; Dark cyan background
(foreground-color . "#8affff") ;; Bright cyan text
(alpha-background . 75) ;; 75% opacity (GUI only)
diff --git a/init.el b/init.el
index e3abce3..c2b09f5 100644
--- a/init.el
+++ b/init.el
@@ -214,9 +214,9 @@
;; Ligatures
;; =====================================
-;; Enable ligatures for JetBrains Mono
+;; Enable ligatures for 0xProto
;; Uses composition-function-table for proper ligature rendering
-(defconst jetbrains-mono-ligatures
+(defconst 0xproto-ligatures
'("-->" "//" "/**" "/*" "*/" "<!--" ":=" "->>" "<<-" "->" "<-"
"<=>" "==" "!=" "<=" ">=" "=:=" "!==" "&&" "||" "..." ".."
"|||" "///" "&&&" "===" "++" "--" "=>" "|>" "<|" "||>" "<||"
@@ -233,12 +233,12 @@
"&="))
;; Sort ligatures by length (longest first) to ensure proper matching
-(setq jetbrains-mono-ligatures
- (sort jetbrains-mono-ligatures
+(setq 0xproto-ligatures
+ (sort 0xproto-ligatures
(lambda (x y) (> (length x) (length y)))))
;; Register each ligature pattern in the composition function table
-(dolist (ligature jetbrains-mono-ligatures)
+(dolist (ligature 0xproto-ligatures)
(let ((pattern (regexp-quote ligature))
(first-char (aref ligature 0)))
(set-char-table-range composition-function-table