diff --git a/fonts/SourceCodePro-Black.otf b/fonts/SourceCodePro-Black.otf new file mode 100755 index 0000000..74ab5c1 Binary files /dev/null and b/fonts/SourceCodePro-Black.otf differ diff --git a/fonts/SourceCodePro-Bold.otf b/fonts/SourceCodePro-Bold.otf new file mode 100755 index 0000000..96b4877 Binary files /dev/null and b/fonts/SourceCodePro-Bold.otf differ diff --git a/fonts/SourceCodePro-ExtraLight.otf b/fonts/SourceCodePro-ExtraLight.otf new file mode 100755 index 0000000..19c16c7 Binary files /dev/null and b/fonts/SourceCodePro-ExtraLight.otf differ diff --git a/fonts/SourceCodePro-Light.otf b/fonts/SourceCodePro-Light.otf new file mode 100755 index 0000000..f624ee1 Binary files /dev/null and b/fonts/SourceCodePro-Light.otf differ diff --git a/fonts/SourceCodePro-Medium.otf b/fonts/SourceCodePro-Medium.otf new file mode 100755 index 0000000..be70672 Binary files /dev/null and b/fonts/SourceCodePro-Medium.otf differ diff --git a/fonts/SourceCodePro-Regular.otf b/fonts/SourceCodePro-Regular.otf new file mode 100755 index 0000000..8f031da Binary files /dev/null and b/fonts/SourceCodePro-Regular.otf differ diff --git a/fonts/SourceCodePro-Semibold.otf b/fonts/SourceCodePro-Semibold.otf new file mode 100755 index 0000000..0dc6a39 Binary files /dev/null and b/fonts/SourceCodePro-Semibold.otf differ diff --git a/spacemacs b/spacemacs index 11b3fd8..52876f9 100644 --- a/spacemacs +++ b/spacemacs @@ -40,7 +40,7 @@ ;; Default font. `powerline-scale' allows to quickly tweak the mode-line ;; size to make separators look not too crappy. dotspacemacs-default-font '("Source Code Pro" - :size 13 + :size 11 :weight normal :width normal :powerline-scale 1.0) @@ -71,7 +71,7 @@ dotspacemacs-fullscreen-use-non-native nil ;; 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. - dotspacemacs-maximized-at-startup nil + dotspacemacs-maximized-at-startup t ;; 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 ;; be toggled through `toggle-transparency'. @@ -102,14 +102,14 @@ (defun dotspacemacs/init () "User initialization for Spacemacs. This function is called at the very 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) + (defun custom-persp/mail () + (interactive) + (custom-persp "Mail" + (mu4e))) + ) (defun dotspacemacs/config () @@ -117,6 +117,7 @@ This function is called at the very end of Spacemacs initialization." (rainbow-mode) (setq powerline-default-separator 'nil) + (evil-leader/set-key "Lom" 'custom-persp/mail) ) ;; Custom variables diff --git a/spacemacs_private/mu4e/config.el b/spacemacs_private/mu4e/config.el index 9ecf5bb..11d3519 100644 --- a/spacemacs_private/mu4e/config.el +++ b/spacemacs_private/mu4e/config.el @@ -44,12 +44,13 @@ ;; mu4e-html2text-command "html2text -nobs" ;; mu4e-html2text-command "w3m -T text/html" 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 message-send-mail-function 'message-send-mail-with-sendmail 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" ;; just Gmail at first @@ -105,6 +106,11 @@ (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 (when (fboundp 'imagemagick-register-types) (imagemagick-register-types)))) diff --git a/spacemacs_private/mu4e/packages.el b/spacemacs_private/mu4e/packages.el index 52e536c..691dc38 100644 --- a/spacemacs_private/mu4e/packages.el +++ b/spacemacs_private/mu4e/packages.el @@ -22,9 +22,15 @@ which require an initialization must be listed explicitly in the list.") ;; For each package, define a function mu4e/init- ;; -;; (defun mu4e/init-my-package () -;; "Initialize my package" -;; ) +;; (defun mu4e/init-mu4e-maildirs-extension () + "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' ;; For more info on `use-package', see readme: