From 06ef9c5b77aaad74977010aca97f121a99ec9cf1 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 1 Apr 2024 12:40:43 -0500 Subject: [PATCH] Experimenting with mini-frame --- user/app/doom-emacs/config.el | 11 +++++++++++ user/app/doom-emacs/doom.org | 12 ++++++++++++ user/app/doom-emacs/packages.el | 1 + 3 files changed, 24 insertions(+) diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index b43a161..f54d629 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -190,6 +190,17 @@ ;; For camelCase (global-subword-mode 1) +;; Mini-frames +(setq mini-frame-show-parameters + '((left . 0.5) + (top . 10) + (width . 0.6) + (height . 15)) +) +(setq mini-frame-resize nil) +(setq mini-frame-standalone t) +(mini-frame-mode -1) ;; don't enable this for now since it's kinda slow on my system + ;;;------ Registers ------;;; (map! :leader diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 61bda1d..d9b1858 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -253,6 +253,17 @@ Doom Emacs is traditionally installed by cloning the repository ([[https://githu ;; For camelCase (global-subword-mode 1) +;; Mini-frames +(setq mini-frame-show-parameters + '((left . 0.5) + (top . 10) + (width . 0.6) + (height . 15)) +) +(setq mini-frame-resize nil) +(setq mini-frame-standalone t) +(mini-frame-mode -1) ;; don't enable this for now since it's kinda slow on my system + #+END_SRC ** Registers #+BEGIN_SRC emacs-lisp :tangle config.el @@ -1930,6 +1941,7 @@ Any git package can be configured for a particular commit or branch: (package! org-ql) (package! persist) (package! sudo-edit) +(package! mini-frame) #+END_SRC * Nix Integration In order to have Nix load my Doom Emacs configuration [[./doom.nix][doom.nix]], which I source in the =imports= block of my [[../../../profiles/work/home.nix][home.nix]]. diff --git a/user/app/doom-emacs/packages.el b/user/app/doom-emacs/packages.el index c590dfb..7961f59 100644 --- a/user/app/doom-emacs/packages.el +++ b/user/app/doom-emacs/packages.el @@ -30,3 +30,4 @@ (package! org-ql) (package! persist) (package! sudo-edit) +(package! mini-frame)