diff options
Diffstat (limited to 'shoshimacs.el')
-rw-r--r-- | shoshimacs.el | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/shoshimacs.el b/shoshimacs.el index 43d3da9..6f34371 100644 --- a/shoshimacs.el +++ b/shoshimacs.el @@ -7,6 +7,11 @@ (setq custom-file my-custom-file) (load custom-file)) + +(defun my-hostname () + "Helper function to determine on which host Emacs is starting." + (string-trim (with-temp-buffer (shell-command "hostname" t ) (buffer-string)))) + (defvar my-themes-to-install '(cyberpunk-theme dracula-theme nano-theme) "List of themes to install when loading shoshimacs config.") @@ -201,14 +206,13 @@ ;;; User Interface (when (display-graphic-p) (scroll-bar-mode -1) - (fringe-mode '(8 . 0))) - -(tab-bar-mode t) -(display-battery-mode t) + (fringe-mode '(8 . 0)) + (menu-bar-mode -1) + (tool-bar-mode -1)) (package-install 'darkroom) -(let ((size (if (equal hostname "zebes") 18 12))) +(let ((size (if (or (equal (my-hostname) "zebes") (equal (my-hostname) "ridley")) 16 12))) (set-frame-font (format "Victor Mono-%s" size))) (global-hl-line-mode t) |