all repos — nixfiles @ b1c04a8d4482245a6f48bc2eeda5adf41f4c1851

System and user configuration, managed by nix and home-manager

Emacs: replace ns-auto-titlebar with simple code

Alan Pearce
commit

b1c04a8d4482245a6f48bc2eeda5adf41f4c1851

parent

e3a41fb740bd254ef63eeaee0c70a5d854fd0490

2 files changed, 3 insertions(+), 4 deletions(-)

jump to
M user/emacs/.emacs.d/main.eluser/emacs/.emacs.d/main.el
@@ -89,9 +89,9 @@ (push (list 'eyebrowse-mode moody-replace-eyebrowse-lighter)
(cdr (last mode-line-misc-info))))) (moody-replace-eyebrowse nil)))) -(use-package ns-auto-titlebar - :if (eq system-type 'darwin) - :custom ((ns-auto-titlebar-mode t))) +(when (eq system-type 'darwin) + (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t)) + (add-to-list 'default-frame-alist '(ns-appearance . 'light))) (add-to-list 'default-frame-alist '(width . 100)) (add-to-list 'default-frame-alist '(height . 40))
M user/modules/emacs.nixuser/modules/emacs.nix
@@ -140,7 +140,6 @@ which-key
yaml-mode ] ++ lib.optionals stdenv.isDarwin [ exec-path-from-shell - ns-auto-titlebar ] ++ lib.optionals (!stdenv.isDarwin) [ pkgs.mu ]);