From f88d10043de757cc24f641c35b6f23e0c28b4336 Mon Sep 17 00:00:00 2001 From: James Walker Date: Wed, 17 Jan 2024 22:33:16 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20for=20emacs-macport=20titl?= =?UTF-8?q?e-bar-mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/.doom.d/config.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/.doom.d/config.el b/config/.doom.d/config.el index 83a274d..b82b3b5 100644 --- a/config/.doom.d/config.el +++ b/config/.doom.d/config.el @@ -61,3 +61,7 @@ (add-to-list 'auto-mode-alist '("\\.njk" . web-mode)) (setq lsp-haskell-formatting-provider "stylish-haskell") (setq nix-nixfmt-bin "nixpkgs-fmt") + +;; TODO: remove when macport updates. +;; see: https://discourse.doomemacs.org/t/how-to-have-tool-bar-mode-0-apply-at-startup-to-avoid-large-title-bar-on-macos-sonoma-when-using-railwaycat-homebrew-emacsmacport/4222/4 +(add-hook 'doom-after-init-hook (lambda () (tool-bar-mode 1) (tool-bar-mode 0)))