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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user