Skip to content

Latest commit

 

History

History
75 lines (58 loc) · 2.21 KB

ui.org

File metadata and controls

75 lines (58 loc) · 2.21 KB

Piratemacs (UI Configuration)

Emacs Theme

As of right now, we steal our theme from doom emacs, but this might change soon :-). The actual theme used is doom-nord, but feel free to change that.

 (use-package doom-themes
   :ensure t)
 (setq doom-themes-enable-bold t
	  doom-themes-enable-italic t)
 (load-theme 'doom-nord t)

Splash Screen

A key part of piratemacs is the splash screen. We use emacs-dashboard for this…

(use-package dashboard
  :ensure t
  :diminish dashboard-mode
  :init
  (setq dashboard-banner-logo-title "Pirate Emacs")
  (setq dashboard-startup-banner (expand-file-name "assets/logo_clear.png" user-emacs-directory))

  (setq dashboard-items '((recents  . 5)
			      (projects . 5)))

  (setq dashboard-center-content t)
  (dashboard-setup-startup-hook))

Fonts

We use Jetbrains Mono as the default system font, and it should be installed. Click here to install!

(set-face-attribute 'default nil :font "JetBrains Mono" :height 100) 

Modeline

On contrary to what the name suggests, Doom Modeline is not a Doom package (although its used in DOOM and SpaceMacs). We use it since it looks really nice.

(use-package doom-modeline
  :ensure t
  :init (doom-modeline-mode))

(setq doom-modeline-buffer-encoding nil)

Disable UI Clutter

Remove the Menu, Toolbar and Scrollbar. Also disable the default Emacs splash screen, among other things.

(menu-bar-mode -1)
(tool-bar-mode -1)
(toggle-scroll-bar -1)

(setq inhibit-splash-screen t)
(setq inhibit-startup-message t)

;; Setup smoother scrolling
(setq scroll-conservatively 101)
(setq mouse-wheel-progressive-speed t)
(setq mouse-wheel-follow-mouse `t)
(setq mouse-wheel-scroll-amount `(3 ((shift) . 3))) ; How many lines to scroll at at time

;; Also disable the blinking cursor
(blink-cursor-mode 0)