mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(ui/macos): shift buffer content below display notch on modern MacBook Pro models
Add a new vendored custom package called tab-bar-notch, which resizes the tab-bar height to match that of the physical camera notch on modern MacBook Pro models.
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
|
||||
(require 'siren-workspace-map)
|
||||
|
||||
(use-package tab-bar-notch
|
||||
:straight (:type built-in) ;; from vendor directory
|
||||
)
|
||||
|
||||
(use-package tab-bar
|
||||
:straight (:type built-in)
|
||||
|
||||
@@ -55,7 +59,10 @@
|
||||
|
||||
:custom
|
||||
(tab-bar-close-button-show nil)
|
||||
(tab-bar-format '(tab-bar-format-tabs-groups tab-bar-separator))
|
||||
(tab-bar-format `(tab-bar-format-tabs-groups
|
||||
,(if (eq system-type 'darwin)
|
||||
'tab-bar-notch-spacer
|
||||
'tab-bar-separator)))
|
||||
(tab-bar-history-limit 25)
|
||||
(tab-bar-new-tab-choice "*scratch*")
|
||||
(tab-bar-show 1)
|
||||
|
||||
Reference in New Issue
Block a user