fix(tabs): defer centaur-tabs-mode in daemon sessions
Fix: #6647 Fix: #7477 Close: #7276
This commit is contained in:
parent
56f33bc7ed
commit
fddc912f81
1 changed files with 5 additions and 1 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue