summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/.emacs.d/main.el6
-rw-r--r--user/modules/emacs.nix1
2 files changed, 3 insertions, 4 deletions
diff --git a/user/emacs/.emacs.d/main.el b/user/emacs/.emacs.d/main.el
index 1aa128bc..4ee62507 100644
--- a/user/emacs/.emacs.d/main.el
+++ b/user/emacs/.emacs.d/main.el
@@ -89,9 +89,9 @@
                       (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))
diff --git a/user/modules/emacs.nix b/user/modules/emacs.nix
index 091c588c..5d73e585 100644
--- a/user/modules/emacs.nix
+++ b/user/modules/emacs.nix
@@ -140,7 +140,6 @@ in
       yaml-mode
     ] ++ lib.optionals stdenv.isDarwin [
       exec-path-from-shell
-      ns-auto-titlebar
     ] ++ lib.optionals (!stdenv.isDarwin) [
       pkgs.mu
     ]);