From c7c1a4fae91326534fa939002526d1284bce5476 Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Thu, 11 May 2023 07:44:38 +0200 Subject: [PATCH] Set command as meta and appearance settings --- .emacs.d/init.el | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2346bba..fb766c7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -216,12 +216,18 @@ (setq epg-pinentry-mode 'loopback) (when (fboundp 'mac-auto-operator-composition-mode) - (mac-auto-operator-composition-mode))) + (mac-auto-operator-composition-mode)) -(when (memq window-system '(mac ns)) - (use-package exec-path-from-shell - :config - (exec-path-from-shell-initialize))) + (when (memq window-system '(mac ns)) + (setq mac-option-modifier 'none + mac-command-modifier 'meta) + + (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t)) + (add-to-list 'default-frame-alist '(ns-appearance . dark)) + + (use-package exec-path-from-shell + :config + (exec-path-from-shell-initialize)))) (use-package flycheck :init @@ -242,7 +248,7 @@ :default-family "Iosevka Comfy Fixed" :default-height 90) (regular - :default-height 130) + :default-height 140) (medium :default-height 170) (large