doomemacs/modules/ui/doom/README.org

33 lines
1.3 KiB
Org Mode
Raw Normal View History

2017-05-26 02:08:50 +08:00
* :ui doom
2017-05-04 15:00:33 +08:00
2017-05-26 02:08:50 +08:00
This module modifies Emacs' user interface.
2017-05-04 15:00:33 +08:00
2017-05-26 02:08:50 +08:00
DOOM's look is loosely inspired by Atom's One Dark theme, and is largely contained in the [[https://github.com/hlissner/emacs-doom-theme/][doom-themes]] plugin.
2017-05-04 15:00:33 +08:00
2017-05-26 02:08:50 +08:00
By default, this module uses:
+ [[https://github.com/mozilla/Fira][Fira Mono and Fira Sans]] (fonts)
+ [[https://dejavu-fonts.github.io/][DejaVu Sans Mono]] (font, for displaying unicode characters)
2017-05-04 15:00:33 +08:00
+ ~hideshow~, modified to use a nicer folded-region indicator.
+ Custom fringe bitmaps for ~git-gutter-fringe~ (thin bars)
2017-05-26 02:08:50 +08:00
** Install
2017-05-04 15:00:33 +08:00
[[https://github.com/mozilla/Fira][Fira Mono]] is this module's only dependency (if you want to use it).
*** MacOS
#+BEGIN_SRC sh :tangle (if (doom-system-os 'macos) "yes")
brew tap caskroom/fonts
2017-05-26 02:08:50 +08:00
brew cask install font-fira-{sans,mono} font-dejavu-sans
2017-05-04 15:00:33 +08:00
#+END_SRC
*** Arch Linux
#+BEGIN_SRC sh :dir /sudo:: :tangle (if (doom-system-os 'arch) "yes")
2017-05-26 02:08:50 +08:00
sudo pacman --noconfirm --needed -S ttf-fira-{sans,mono} ttf-dejavu
2017-05-04 15:00:33 +08:00
#+END_SRC
2017-05-26 02:08:50 +08:00
** Troubleshooting
*** Strange font symbols
If you're getting strange unicode symbols, that is likely ~all-the-icons~ doing (caused by other UI modules, specifically [[../doom-modeline][doom-modeline]] and [[../doom-dashboard][doom-dashboard]]).
You must install the fonts included with ~all-the-icons~ with: ~M-x all-the-icons-install-fonts~.