;; syd-popups.el -*- lexical-binding: t; -*- (use-package popper :hook (on-init-ui-hook) :init (setq popper-display-control nil popper-reference-buffers (list (lambda (buf) (with-current-buffer buf (bound-and-true-p doom-popup-buffer-mode))))) :config (popper-mode 1)) ;; An optional dependency of `doom-popup'. As the name suggests, it provides a ;; minor mode that hides the mode-line. `doom-popup' will automatically enable ;; it in popup windowss. (use-package hide-mode-line :commands hide-mode-line-mode :preface ;; `doom-popup' tests (boundp 'hide-mode-line-mode) before it tries enabling ;; or disabling the mode. We must define this because `hide-mode-line' does ;; not autoload it. (defvar hide-mode-line-mode nil)) (use-package doom-popup :straight (:type git :host gitlab :repo "crumbtoo/doom-popup")) (provide 'syd-popups)