diff options
-rw-r--r-- | shoshin-config.el | 6 | ||||
-rw-r--r-- | shoshin-config.org | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/shoshin-config.el b/shoshin-config.el index 33c7504..292eaa2 100644 --- a/shoshin-config.el +++ b/shoshin-config.el @@ -37,6 +37,10 @@ corfu-quit-no-match t) (global-corfu-mode t) +(package-install 'corfu-popup) +(unless (display-graphic-p) + (corfu-terminal-mode +1)) + (package-install 'embark) (package-install 'marginalia) @@ -73,7 +77,7 @@ (setq srht-username "shoshin") ;;; User Interface -(unless (null window-system) +(if (display-graphic-p) (scroll-bar-mode nil) (fringe-mode '(8 . 0))) diff --git a/shoshin-config.org b/shoshin-config.org index 7d4f51f..edd0933 100644 --- a/shoshin-config.org +++ b/shoshin-config.org @@ -230,6 +230,14 @@ the new. it seems like consult does this as well as switching themes (global-corfu-mode t) #+end_src +*** corfu-popon enables in terminal interface + +#+begin_src emacs-lisp + (package-install 'corfu-popup) + (unless (display-graphic-p) + (corfu-terminal-mode +1)) +#+end_src + ** embark #+begin_src emacs-lisp @@ -348,7 +356,7 @@ an API token is stored in my ~.authinfo~ file. ** basic Emacs UI tweaks #+begin_src emacs-lisp - (unless (null window-system) + (if (display-graphic-p) (scroll-bar-mode nil) (fringe-mode '(8 . 0))) |