mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-09 12:57:25 -05:00
fix(tabs): defer centaur-tabs-mode in daemon sessions
Fix: #6647 Fix: #7477 Close: #7276
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
;;; Packages
|
||||
|
||||
(use-package! centaur-tabs
|
||||
:hook (doom-first-file . centaur-tabs-mode)
|
||||
:defer t
|
||||
:init
|
||||
(setq centaur-tabs-set-icons t
|
||||
centaur-tabs-gray-out-icons 'buffer
|
||||
@ -24,6 +24,10 @@
|
||||
;; prevents that.
|
||||
centaur-tabs-cycle-scope 'tabs)
|
||||
|
||||
(if (daemonp)
|
||||
(add-hook 'server-after-make-frame-hook #'centaur-tabs-mode)
|
||||
(add-hook 'doom-first-file-hook #'centaur-tabs-mode))
|
||||
|
||||
:config
|
||||
(add-hook! '(+doom-dashboard-mode-hook +popup-buffer-mode-hook)
|
||||
(defun +tabs-disable-centaur-tabs-mode-maybe-h ()
|
||||
|
Reference in New Issue
Block a user