Compare commits

..

No commits in common. "eb8a3c6db81bde532f711945d112ddd5ee601cd4" and "988596a90427cb94382bc17781fd7dd612e08715" have entirely different histories.

2 changed files with 6 additions and 7 deletions

View File

@ -2,7 +2,6 @@
- [[file:awesome.org][AwesomeWM configuration]] - [[file:awesome.org][AwesomeWM configuration]]
- [[file:bin.org][Executable scripts]] - [[file:bin.org][Executable scripts]]
- [[file:spacemacs.org][Emacs Configuration]]
- [[file:fish.org][Fish config]] - [[file:fish.org][Fish config]]
- [[file:nano.org][Nano configuration (Deprecated)]] - [[file:nano.org][Nano configuration (Deprecated)]]
- [[file:ncmpcpp.org][Ncmpcpp Configuration (WIP)]] - [[file:ncmpcpp.org][Ncmpcpp Configuration (WIP)]]
@ -12,5 +11,6 @@
- [[file:picom.org][Picom (Compton) Configuration]] - [[file:picom.org][Picom (Compton) Configuration]]
- [[file:polybar.org][Polybar config (Deprecated)]] - [[file:polybar.org][Polybar config (Deprecated)]]
- [[file:rustfmt.org][Rust format config]] - [[file:rustfmt.org][Rust format config]]
- [[file:spacemacs.org][Spacemacs Configuration]]
- [[file:tmux.org][Tmux config]] - [[file:tmux.org][Tmux config]]
- [[file:i3.org][i3 config (Deprecated)]] - [[file:i3.org][i3 config (Deprecated)]]

View File

@ -1,4 +1,4 @@
#+title: Emacs Configuration #+title: Spacemacs Configuration
#+setupfile: headers #+setupfile: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks Spacemacs Configuration" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks Spacemacs Configuration" />
@ -3227,13 +3227,12 @@
horizontal. And to make it more readable, the header window will only occupy 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 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 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 or the window to the frame being potentially not the same width than earlier.
not taking the entire frame.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq mu4e-split-view 'vertical) (setq mu4e-split-view 'vertical)
(add-hook 'mu4e-view-mode-hook (add-hook 'mu4e-headers-mode-hook
(lambda () (lambda ()
(setq mu4e-headers-visible-columns (round (* (window-width) (setq mu4e-headers-visible-columns (round (* (frame-total-cols)
0.4))))) 0.4)))))
#+END_SRC #+END_SRC