summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2020-10-01 09:49:44 -0700
committerFranck Cuny <franck@fcuny.net>2020-10-01 09:49:44 -0700
commit8a4ca1ad432e8e29f0beb29e3b99500193e219ef (patch)
treee6528ed13ded0df8652d4b8d9ab9c07381f67c80
parentfonts: let's use DejaVu where possible (diff)
downloademacs.d-8a4ca1ad432e8e29f0beb29e3b99500193e219ef.tar.gz
[emacs]: a few changes to the UI
- disable the menu bar
- use the theme "leuven"
- configure the size of the fonts for linux
-rw-r--r--emacs.d/custom/fcuny-ui.el9
1 files changed, 8 insertions, 1 deletions
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)