Compare commits

..

No commits in common. "eb6282b3042197815071f2e0fe880a271fd1f260" and "8b5708fee7b0fbeb2403c3ee61d339dfafd5efef" have entirely different histories.

2 changed files with 17 additions and 14 deletions

13
init.el
View File

@ -336,6 +336,7 @@ If the current window occupies the whole frame, split it."
;; (add-hook 'after-init-hook #'mir/graphical-setup)
)
(use-package compat)
(use-package marginalia :init (marginalia-mode))
;; (elpaca gcmh (gcmh-mode))
@ -347,8 +348,8 @@ If the current window occupies the whole frame, split it."
(use-package powershell
:mode ("\\.ps1\\'" . powershell-mode))
;; (message "elpaca queues: %s" elpaca--queues)
;; (if (fboundp #'elpaca) (elpaca-wait))
;; (message "%s" elpaca--queues)
(if (fboundp #'elpaca) (elpaca-wait))
;; diminish
(use-package diminish
@ -360,14 +361,8 @@ If the current window occupies the whole frame, split it."
:custom (default-input-method "japanese")
:config (require 'mir-keybinds))
;;(if (fboundp #'elpaca) (elpaca-wait))
(use-package eldoc :ensure t)
(elpaca-wait)
;;(when (featurep 'eldoc)
;; (unload-feature 'eldoc t))
;; (elpaca eldoc
;; )
;; (elpaca-wait)
(use-package eldoc-box
:after eldoc
:diminish (eldoc-mode eldoc-box-hover-at-point-mode)

View File

@ -66,11 +66,19 @@ console."
(pixel-scroll-precision-mode t)
(pixel-scroll-mode t))
;; Size of text. おまえ わ もう しんでいる.
(let* ((resy (display-pixel-height))
(font-height (/ resy 8))) ; gonna be different on diff machines 💀
(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))))
;; (if (executable-find "neofetch")
;; (let* ((resolution (mapcar #'string-to-number
;; (split-string
;; (cadr (split-string
;; (shell-command-to-string
;; "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 ()
"Switch between english and japanese. Not broken."