diff options
| author | jao <jao@gnu.org> | 2025-11-28 13:13:36 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2025-11-28 13:17:22 +0000 |
| commit | 29fd8bf6925dd4e8d632a20f6eaf42fe62300c3b (patch) | |
| tree | 0bfefde163093004c2615048322aafbef8057a1e | |
| parent | 7000e2f946ff9ba51fc3631825cf4c17ae064232 (diff) | |
| download | elibs-29fd8bf6925dd4e8d632a20f6eaf42fe62300c3b.tar.gz elibs-29fd8bf6925dd4e8d632a20f6eaf42fe62300c3b.tar.bz2 | |
nitsmain
| -rw-r--r-- | custom/jao-custom-programming.el | 2 | ||||
| -rw-r--r-- | init.el | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el index 925c2f0..e879222 100644 --- a/custom/jao-custom-programming.el +++ b/custom/jao-custom-programming.el @@ -59,7 +59,7 @@ (eglot-inlay-hints-mode -1) (setq-local eldoc-display-functions '(eldoc-display-in-buffer))) :config - :hook (eglot--managed-mode . jao-eglot-managed-mode-hook) + :hook (eglot-managed-mode . jao-eglot-managed-mode-hook) :bind (:map eglot-mode-map (("C-h ." . jao-eldoc-toggle)))) ;;;; paredit and parens @@ -1149,12 +1149,10 @@ (not (bound-and-true-p jao-exwm--use-afio)) (boundp 'exwm-workspace-current-index)) (format "F%s" exwm-workspace-current-index)) - ;; (jao-afio-use-frames "") (t (format "%s" (or (jao-afio-frame-name) "")))) 'face 'font-lock-warning-face)) - (if jao-afio-use-frames - (add-to-list 'global-mode-string '(:eval (jao-afio-frame-name))) + (unless jao-afio-use-frames (jao-minibuffer-add-variable '(jao-current--frame-id) 100)) (setq frame-title-format '("emacs - " (:eval (jao-afio-frame-name)))) @@ -1164,7 +1162,7 @@ (jao-when-darwin (jao-afio-add-frame-parameters "docs" (width . 195) (height . 70)) - (jao-afio-add-frame-parameters nil (width . 163) (height . 70)) + (jao-afio-add-frame-parameters nil (width . 197) (height . 82)) (add-to-list 'default-frame-alist '(width . 80))) :bind (("C-c f" . 'jao-afio-goto-main) @@ -2010,7 +2008,9 @@ jao-kb-toggle :if jao-x11-p)]])) (global-set-key (kbd "s-w") #'jao-transient-utils) -(global-set-key (kbd "<f4>") #'jao-transient-utils) + +(global-set-key (kbd "<f4>") + (if (display-graphic-p) #'delete-frame #'jao-transient-utils)) ;;; Global key bindings (defun jao-global-keybindings () |
