about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/desktop.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-11-28T12·30+0300
committerclbot <clbot@tvl.fyi>2023-11-28T12·34+0000
commit84a846a3a253160178037996bbd4b3e527be7b4f (patch)
tree7c5ec823fc7fa5449e1b4ecc42a793f253c6c510 /users/tazjin/emacs/config/desktop.el
parenta554531e28e7b21a27504333a7d950492c26c267 (diff)
refactor(tazjin/emacs): move global-mode-line info into tab-bar r/7079
This removes the wonky hack with detecting the bottom right window,
and gives me saner, unified handling of this display in the tab
bar (of which there is only one!)

Change-Id: Id21c6b2472d0c89fc4d000a10a9e90d2ddba86b6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10165
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config/desktop.el')
-rw-r--r--users/tazjin/emacs/config/desktop.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index 2688588d20e5..f8ca11f55d11 100644
--- a/users/tazjin/emacs/config/desktop.el
+++ b/users/tazjin/emacs/config/desktop.el
@@ -109,6 +109,12 @@
 ;; tab-bar related config
 (setq tab-bar-show 1)
 (setq tab-bar-tab-hints t)
+
+(setq tab-bar-format
+      '(tab-bar-format-history
+        tab-bar-format-tabs tab-bar-separator
+        tab-bar-format-align-right tab-bar-format-global))
+
 (setq tab-bar-new-tab-choice
       (lambda () (get-buffer-create "*scratch*")))