mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 12:00:24 +10:00
Experimenting with using Emacs as a Rofi replacement; not working correctly--YET!
This commit is contained in:
@@ -142,17 +142,13 @@ Emacs Dashboard is an extensible startup screen showing you recent files, bookma
|
||||
:config
|
||||
(dashboard-setup-startup-hook))
|
||||
|
||||
(add-to-list 'display-buffer-alist
|
||||
'("\\*launcher\\*" ;; Adjust to match your launcher's buffer name
|
||||
(display-buffer-same-window)
|
||||
(inhibit-same-window . nil)))
|
||||
;; IMPORTANT: This allows us to use our custom Emacs launchers
|
||||
;; without getting the annoying second window created.
|
||||
(setq display-buffer-alist
|
||||
'(("^\\(\\*.*\\*\\|Dashboard\\)$"
|
||||
(display-buffer-no-window)
|
||||
(allow-no-window . t))))
|
||||
|
||||
;; Force the frame to strictly have one window
|
||||
(add-hook 'server-after-make-frame-hook
|
||||
(lambda ()
|
||||
(when (equal (frame-parameter nil 'name) "launcher")
|
||||
(set-window-dedicated-p (selected-window) t)
|
||||
(delete-other-windows))))
|
||||
#+end_src
|
||||
|
||||
* DIMINISH
|
||||
|
||||
Reference in New Issue
Block a user