diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-04-29 18:56:18 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-04-29 18:56:18 -0700 |
| commit | 2fa13c118a12808d3756224df6f7f5cde22b91a3 (patch) | |
| tree | 602825df68f9cf75ff385205bc583ca2e0d8aba0 /nix | |
| parent | don't install packages via homebrew (diff) | |
| download | infra-2fa13c118a12808d3756224df6f7f5cde22b91a3.tar.gz | |
disable more GUI elements
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/users/fcuny/configs/emacs/early-init.el | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/nix/users/fcuny/configs/emacs/early-init.el b/nix/users/fcuny/configs/emacs/early-init.el index 2bcbca5..e5ebdfa 100644 --- a/nix/users/fcuny/configs/emacs/early-init.el +++ b/nix/users/fcuny/configs/emacs/early-init.el @@ -15,15 +15,22 @@ ;; Default frame configuration: full screen, good-looking title bar on macOS (setq frame-resize-pixelwise t) - -(tool-bar-mode -1) - (setq default-frame-alist '((fullscreen . maximized) ;; Setting the face in here prevents flashes of ;; color as the theme gets activated (ns-appearance . light) (ns-transparent-titlebar . t))) +;; disable GUI elements +(scroll-bar-mode -1) ; hide the scroll bar +(tool-bar-mode -1) ; hide the tool bar +(menu-bar-mode -1) ; hide the menu +(blink-cursor-mode -1) ; don't blink the cursor + +(setq make-pointer-invisible t) ;; hide cursor while typing +(setq use-dialog-box nil) ;; do not show GUI dialogs +(setq inhibit-startup-screen t) ;; hide the startup screen + (set-face-attribute 'default nil :family "Source Code Pro" :height 150) ;;; early-init.el ends here |
