Compare commits
2 Commits
988596a904
...
eb8a3c6db8
Author | SHA1 | Date |
---|---|---|
Lucien Cartier-Tilet | eb8a3c6db8 | |
Lucien Cartier-Tilet | d50f38db49 |
|
@ -2,6 +2,7 @@
|
|||
|
||||
- [[file:awesome.org][AwesomeWM configuration]]
|
||||
- [[file:bin.org][Executable scripts]]
|
||||
- [[file:spacemacs.org][Emacs Configuration]]
|
||||
- [[file:fish.org][Fish config]]
|
||||
- [[file:nano.org][Nano configuration (Deprecated)]]
|
||||
- [[file:ncmpcpp.org][Ncmpcpp Configuration (WIP)]]
|
||||
|
@ -11,6 +12,5 @@
|
|||
- [[file:picom.org][Picom (Compton) Configuration]]
|
||||
- [[file:polybar.org][Polybar config (Deprecated)]]
|
||||
- [[file:rustfmt.org][Rust format config]]
|
||||
- [[file:spacemacs.org][Spacemacs Configuration]]
|
||||
- [[file:tmux.org][Tmux config]]
|
||||
- [[file:i3.org][i3 config (Deprecated)]]
|
||||
- [[file:i3.org][i3 config (Deprecated)]]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#+title: Spacemacs Configuration
|
||||
#+title: Emacs Configuration
|
||||
#+setupfile: headers
|
||||
#+OPTIONS: auto-id:t
|
||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak’s Spacemacs Configuration" />
|
||||
|
@ -3227,12 +3227,13 @@
|
|||
horizontal. And to make it more readable, the header window will only occupy
|
||||
40% of Emacs’ frame, the rest will be given to emails. As you can see, the
|
||||
width of the mu4e headers is evaluated each time we enter it, so it can react
|
||||
to the frame being potentially not the same width than earlier.
|
||||
to the frame being potentially not the same width than earlier or the window
|
||||
not taking the entire frame.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq mu4e-split-view 'vertical)
|
||||
(add-hook 'mu4e-headers-mode-hook
|
||||
(add-hook 'mu4e-view-mode-hook
|
||||
(lambda ()
|
||||
(setq mu4e-headers-visible-columns (round (* (frame-total-cols)
|
||||
(setq mu4e-headers-visible-columns (round (* (window-width)
|
||||
0.4)))))
|
||||
#+END_SRC
|
||||
|
||||
|
|
Loading…
Reference in New Issue