fix(workspaces): save current tab-bar tabs to file
This commit is contained in:
parent
f6616e8a06
commit
d12b0ebc80
2 changed files with 18 additions and 1 deletions
|
@ -282,4 +282,7 @@ stored in `persp-save-dir'.")
|
|||
(add-hook! 'tab-bar-mode-hook
|
||||
(defun +workspaces-set-up-tab-bar-integration-h ()
|
||||
(add-hook 'persp-before-deactivate-functions #'+workspaces-save-tab-bar-data-h)
|
||||
(add-hook 'persp-activated-functions #'+workspaces-load-tab-bar-data-h))))
|
||||
(add-hook 'persp-activated-functions #'+workspaces-load-tab-bar-data-h)
|
||||
;; Load and save configurations for tab-bar.
|
||||
(add-hook 'persp-before-save-state-to-file-functions #'+workspaces-save-tab-bar-data-to-file-h)
|
||||
(+workspaces-load-tab-bar-data-from-file-h))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue