From 8a4ca1ad432e8e29f0beb29e3b99500193e219ef Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 1 Oct 2020 09:49:44 -0700 Subject: [emacs]: a few changes to the UI - disable the menu bar - use the theme "leuven" - configure the size of the fonts for linux --- emacs.d/custom/fcuny-ui.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el index e3b775b..b579863 100644 --- a/emacs.d/custom/fcuny-ui.el +++ b/emacs.d/custom/fcuny-ui.el @@ -11,9 +11,14 @@ :config (tool-bar-mode -1)) +(use-package menu-bar + :config + (menu-bar-mode -1)) + (use-package frame :config (blink-cursor-mode -1) + (load-theme 'leuven) (setq frame-title-format "%b") (when (memq window-system '(mac ns)) (set-frame-font "Source Code Pro-15") @@ -21,7 +26,9 @@ (add-to-list 'default-frame-alist '(ns-appearance . nil)) (add-to-list 'default-frame-alist '(ns-transparent-titlebar . nil)) (setq ns-use-native-fullscreen nil) - (setq mac-allow-anti-aliasing t))) + (setq mac-allow-anti-aliasing t)) + (when (memq window-system '(x)) + (set-frame-font "Source Code Pro-10"))) (use-package hl-line :hook ((prog-mode puppet-mode dired-mode org-mode markdown-mode conf-mode yaml-mode) . hl-line-mode) -- cgit 1.4.1