{"id":17993959,"url":"https://github.com/jimeh/tab-bar-notch","last_synced_at":"2025-03-26T02:30:43.964Z","repository":{"id":207586939,"uuid":"719613140","full_name":"jimeh/tab-bar-notch","owner":"jimeh","description":"Adjust tab-bar height for MacBook Pro notch","archived":false,"fork":false,"pushed_at":"2024-12-24T01:09:14.000Z","size":37,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T06:06:46.844Z","etag":null,"topics":["camera-notch","emacs","macbook-pro","macos","notch","tab-bar"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimeh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-11-16T14:37:16.000Z","updated_at":"2024-12-24T01:09:08.000Z","dependencies_parsed_at":"2024-01-13T07:23:09.579Z","dependency_job_id":"7509f514-fc68-4dfb-a0cd-d5d6df02f45a","html_url":"https://github.com/jimeh/tab-bar-notch","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.33333333333333337","last_synced_commit":"6d1101d8156e336f45122c04889327a4c5be253c"},"previous_names":["jimeh/tab-bar-notch"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimeh%2Ftab-bar-notch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimeh%2Ftab-bar-notch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimeh%2Ftab-bar-notch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimeh%2Ftab-bar-notch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimeh","download_url":"https://codeload.github.com/jimeh/tab-bar-notch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245576522,"owners_count":20638123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camera-notch","emacs","macbook-pro","macos","notch","tab-bar"],"created_at":"2024-10-29T20:13:34.624Z","updated_at":"2025-03-26T02:30:43.679Z","avatar_url":"https://github.com/jimeh.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg width=\"300px\" src=\"https://raw.githubusercontent.com/jimeh/tab-bar-notch/assets/img/tab-bar-notch.svg\" alt=\"Logo\"\u003e\u003cbr /\u003e\n  tab-bar-notch\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003e\n    Adjust tab-bar height for MacBook Pro notch.\n  \u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/jimeh/tab-bar-notch/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/tag/jimeh/tab-bar-notch?label=release\" alt=\"GitHub tag (latest SemVer)\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://stable.melpa.org/#/tab-bar-notch\"\u003e\u003cimg alt=\"MELPA Stable\" src=\"https://stable.melpa.org/packages/tab-bar-notch-badge.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://melpa.org/#/tab-bar-notch\"\u003e\u003cimg alt=\"MELPA\" src=\"https://melpa.org/packages/tab-bar-notch-badge.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/jimeh/tab-bar-notch/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues-raw/jimeh/tab-bar-notch.svg?style=flat\u0026logo=github\u0026logoColor=white\" alt=\"GitHub issues\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/jimeh/tab-bar-notch/pulls\"\u003e\u003cimg src=\"https://img.shields.io/github/issues-pr-raw/jimeh/tab-bar-notch.svg?style=flat\u0026logo=github\u0026logoColor=white\" alt=\"GitHub pull requests\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/jimeh/tab-bar-notch/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/jimeh/tab-bar-notch.svg?style=flat\" alt=\"License Status\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nWhen using the non-native fullscreen mode of Emacs on modern MacBook Pro\nmachines, it ends up rendering buffer content behind the camera notch. This\npackage attempts to solve this by way of resizing the tab-bar to fill the\nvertical space taken up by the camera notch.\n\nObviously `tab-bar-mode` must be enabled with the tab-bar visible at the top of\nthe frame for this package to be able to function.\n\n## Non-Native Fullscreen?\n\nThe default native fullscreen implementation on macOS can be rather annoying, as\nit moves applications over to their own separate desktop Space. This prevents\nyou from layering windows from other applications on top it, among other things.\n\nEmacs supports both native and non-native fullscreen modes. In the non-native\nmode, Emacs just acts like any other window, but stretches itself to cover the\nwhole screen, and hides the menu bar and dock. Non-native fullscreen is enabled\nwith:\n\n```elisp\n(setq ns-use-native-fullscreen nil)\n```\n\nIn the non-native fullscreen mode, Emacs is not aware of the physical camera\nnotch however, so it does not know to avoid rendering things behind it.\n\n## Installation\n\n`tab-bar-notch` is available via [MELPA](https://melpa.org/).\n\n### use-package\n\n```elisp\n(use-package tab-bar-notch)\n```\n\n### Manual\n\nPlace `tab-bar-notch.el` somewhere in your `load-path` and require it. For\nexample `~/.emacs.d/vendor`:\n\n```elisp\n(add-to-list 'load-path \"~/.emacs.d/vendor\")\n(require 'tab-bar-notch)\n```\n\n## Usage\n\nYou must be using `tab-bar-mode`, with the tab-bar visible at the top of the\nframe above all buffers.\n\nThen simply add `tab-bar-notch-spacer` to the `tab-bar-format` variable, for\nexample:\n\n```elisp\n(setq tab-bar-format '(tab-bar-format-history\n                       tab-bar-format-tabs\n                       tab-bar-separator\n                       tab-bar-format-add-tab\n                       tab-bar-notch-spacer))\n```\n\nTo disable the package, simply remove `tab-bar-notch-spacer`, and it will\nunregister itself from window resizing hooks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimeh%2Ftab-bar-notch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimeh%2Ftab-bar-notch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimeh%2Ftab-bar-notch/lists"}