Experimenting with using Emacs as a Rofi replacement; not working correctly--YET!

This commit is contained in:
Derek Taylor
2026-01-01 17:40:54 -06:00
parent a1707fd9d1
commit 42dd1caeca
5 changed files with 55 additions and 14 deletions

View File

@@ -125,6 +125,7 @@ Emacs Dashboard is an extensible startup screen showing you recent files, bookma
:ensure t
:init
(setq initial-buffer-choice 'dashboard-open)
(setq initial-scratch-message nil)
(setq dashboard-set-heading-icons t)
(setq dashboard-set-file-icons t)
(setq dashboard-banner-logo-title "Emacs Is More Than A Text Editor!")
@@ -141,6 +142,17 @@ 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)))
;; 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