more mu4e, some fonts, some misc spacemacs stuff
This commit is contained in:
parent
97336db31d
commit
60820ed40d
10 changed files with 25 additions and 12 deletions
BIN
fonts/SourceCodePro-Black.otf
Executable file
BIN
fonts/SourceCodePro-Black.otf
Executable file
Binary file not shown.
BIN
fonts/SourceCodePro-Bold.otf
Executable file
BIN
fonts/SourceCodePro-Bold.otf
Executable file
Binary file not shown.
BIN
fonts/SourceCodePro-ExtraLight.otf
Executable file
BIN
fonts/SourceCodePro-ExtraLight.otf
Executable file
Binary file not shown.
BIN
fonts/SourceCodePro-Light.otf
Executable file
BIN
fonts/SourceCodePro-Light.otf
Executable file
Binary file not shown.
BIN
fonts/SourceCodePro-Medium.otf
Executable file
BIN
fonts/SourceCodePro-Medium.otf
Executable file
Binary file not shown.
BIN
fonts/SourceCodePro-Regular.otf
Executable file
BIN
fonts/SourceCodePro-Regular.otf
Executable file
Binary file not shown.
BIN
fonts/SourceCodePro-Semibold.otf
Executable file
BIN
fonts/SourceCodePro-Semibold.otf
Executable file
Binary file not shown.
15
spacemacs
15
spacemacs
|
|
@ -40,7 +40,7 @@
|
||||||
;; Default font. `powerline-scale' allows to quickly tweak the mode-line
|
;; Default font. `powerline-scale' allows to quickly tweak the mode-line
|
||||||
;; size to make separators look not too crappy.
|
;; size to make separators look not too crappy.
|
||||||
dotspacemacs-default-font '("Source Code Pro"
|
dotspacemacs-default-font '("Source Code Pro"
|
||||||
:size 13
|
:size 11
|
||||||
:weight normal
|
:weight normal
|
||||||
:width normal
|
:width normal
|
||||||
:powerline-scale 1.0)
|
:powerline-scale 1.0)
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
dotspacemacs-fullscreen-use-non-native nil
|
dotspacemacs-fullscreen-use-non-native nil
|
||||||
;; If non nil the frame is maximized when Emacs starts up (Emacs 24.4+ only).
|
;; If non nil the frame is maximized when Emacs starts up (Emacs 24.4+ only).
|
||||||
;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
|
;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
|
||||||
dotspacemacs-maximized-at-startup nil
|
dotspacemacs-maximized-at-startup t
|
||||||
;; A value from the range (0..100), in increasing opacity, which describes the
|
;; A value from the range (0..100), in increasing opacity, which describes the
|
||||||
;; transparency level of a frame when it's active or selected. Transparency can
|
;; transparency level of a frame when it's active or selected. Transparency can
|
||||||
;; be toggled through `toggle-transparency'.
|
;; be toggled through `toggle-transparency'.
|
||||||
|
|
@ -102,14 +102,14 @@
|
||||||
(defun dotspacemacs/init ()
|
(defun dotspacemacs/init ()
|
||||||
"User initialization for Spacemacs. This function is called at the very
|
"User initialization for Spacemacs. This function is called at the very
|
||||||
startup."
|
startup."
|
||||||
(setq-default dotspacemacs-default-font '("Source Code Pro"
|
|
||||||
:size 12
|
|
||||||
:weight normal
|
|
||||||
:width normal
|
|
||||||
:powerline-scale 1.0))
|
|
||||||
|
|
||||||
(setq-default git-enable-github-support t)
|
(setq-default git-enable-github-support t)
|
||||||
|
|
||||||
|
(defun custom-persp/mail ()
|
||||||
|
(interactive)
|
||||||
|
(custom-persp "Mail"
|
||||||
|
(mu4e)))
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(defun dotspacemacs/config ()
|
(defun dotspacemacs/config ()
|
||||||
|
|
@ -117,6 +117,7 @@
|
||||||
This function is called at the very end of Spacemacs initialization."
|
This function is called at the very end of Spacemacs initialization."
|
||||||
(rainbow-mode)
|
(rainbow-mode)
|
||||||
(setq powerline-default-separator 'nil)
|
(setq powerline-default-separator 'nil)
|
||||||
|
(evil-leader/set-key "Lom" 'custom-persp/mail)
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Custom variables
|
;; Custom variables
|
||||||
|
|
|
||||||
|
|
@ -44,12 +44,13 @@
|
||||||
;; mu4e-html2text-command "html2text -nobs"
|
;; mu4e-html2text-command "html2text -nobs"
|
||||||
;; mu4e-html2text-command "w3m -T text/html"
|
;; mu4e-html2text-command "w3m -T text/html"
|
||||||
mu4e-html2text-command 'mu4e-shr2text
|
mu4e-html2text-command 'mu4e-shr2text
|
||||||
mu4e-view-prefer-html 't ;; sorryboutit
|
mu4e-view-prefer-html t ;; sorryboutit
|
||||||
mu4e-view-show-images t ;; doesn't work with shr2text
|
mu4e-view-show-images t ;; doesn't work with shr2text
|
||||||
|
|
||||||
message-send-mail-function 'message-send-mail-with-sendmail
|
message-send-mail-function 'message-send-mail-with-sendmail
|
||||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
message-sendmail-f-is-evil 't
|
message-sendmail-f-is-evil t
|
||||||
|
message-kill-buffer-on-exit t
|
||||||
sendmail-program "/usr/local/bin/msmtp"
|
sendmail-program "/usr/local/bin/msmtp"
|
||||||
|
|
||||||
;; just Gmail at first
|
;; just Gmail at first
|
||||||
|
|
@ -105,6 +106,11 @@
|
||||||
|
|
||||||
(add-to-list 'mu4e-view-actions '("ViewInBrowser" . mu4e-action-view-in-browser) t)
|
(add-to-list 'mu4e-view-actions '("ViewInBrowser" . mu4e-action-view-in-browser) t)
|
||||||
|
|
||||||
|
(add-hook 'mu4e-index-updated-hook
|
||||||
|
(lambda ()
|
||||||
|
(shell-command (concat "youve_got_mail "
|
||||||
|
(number-to-string mu4e-update-interval)))))
|
||||||
|
|
||||||
;; use imagemagick, if available
|
;; use imagemagick, if available
|
||||||
(when (fboundp 'imagemagick-register-types)
|
(when (fboundp 'imagemagick-register-types)
|
||||||
(imagemagick-register-types))))
|
(imagemagick-register-types))))
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,14 @@ which require an initialization must be listed explicitly in the list.")
|
||||||
|
|
||||||
;; For each package, define a function mu4e/init-<package-mu4e>
|
;; For each package, define a function mu4e/init-<package-mu4e>
|
||||||
;;
|
;;
|
||||||
;; (defun mu4e/init-my-package ()
|
;; (defun mu4e/init-mu4e-maildirs-extension ()
|
||||||
;; "Initialize my package"
|
"Initialize my package"
|
||||||
|
;; (use-package mu4e-maildirs-extension
|
||||||
|
;; :config
|
||||||
|
;; (require 'mu4e-maildirs-extension)
|
||||||
|
;; (require 'mu4e-multi)
|
||||||
|
;; (mu4e-maildirs-extension)
|
||||||
|
;; )
|
||||||
;; )
|
;; )
|
||||||
;;
|
;;
|
||||||
;; Often the body of an initialize function uses `use-package'
|
;; Often the body of an initialize function uses `use-package'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue