no need for parsing neofetch when builtins exist :3
This commit is contained in:
parent
0b0115228b
commit
eb6282b304
@ -66,19 +66,11 @@ console."
|
|||||||
(pixel-scroll-precision-mode t)
|
(pixel-scroll-precision-mode t)
|
||||||
(pixel-scroll-mode t))
|
(pixel-scroll-mode t))
|
||||||
;; Size of text. おまえ わ もう しんでいる.
|
;; Size of text. おまえ わ もう しんでいる.
|
||||||
;; (if (executable-find "neofetch")
|
(let* ((resy (display-pixel-height))
|
||||||
;; (let* ((resolution (mapcar #'string-to-number
|
(font-height (/ resy 8))) ; gonna be different on diff machines 💀
|
||||||
;; (split-string
|
(set-face-attribute 'fixed-pitch nil :height font-height)
|
||||||
;; (cadr (split-string
|
(set-face-attribute 'default nil :height font-height)
|
||||||
;; (shell-command-to-string
|
(set-face-attribute 'variable-pitch nil :height (+ font-height 10))))
|
||||||
;; "neofetch resolution"))) "x")))
|
|
||||||
;; (resx (car resolution))
|
|
||||||
;; (resy (cadr resolution))
|
|
||||||
;; (font-height (/ resy 11)))
|
|
||||||
;; (set-face-attribute 'fixed-pitch nil :height font-height)
|
|
||||||
;; (set-face-attribute 'default nil :height font-height)
|
|
||||||
;; (set-face-attribute 'variable-pitch nil :height (+ font-height 10))))
|
|
||||||
)
|
|
||||||
|
|
||||||
(defun toggle-ja-input ()
|
(defun toggle-ja-input ()
|
||||||
"Switch between english and japanese. Not broken."
|
"Switch between english and japanese. Not broken."
|
||||||
|
Loading…
Reference in New Issue
Block a user