Changed dashboard splash, configured mu4e.
This commit is contained in:
+40
-1
@@ -1,5 +1,11 @@
|
||||
(setq fancy-splash-image "~/.config/doom/splash.png")
|
||||
|
||||
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-shortmenu)
|
||||
(add-hook! '+doom-dashboard-mode-hook (hide-mode-line-mode 1) (hl-line-mode -1))
|
||||
(setq-hook! '+doom-dashboard-mode-hook evil-normal-state-cursor (list nil))
|
||||
|
||||
(add-load-path! "/usr/share/emacs/site-lisp/mu4e")
|
||||
|
||||
(setq user-full-name "opal"
|
||||
user-mail-address "ry.orlando@pm.me")
|
||||
|
||||
@@ -68,7 +74,8 @@
|
||||
(setq org-startup-folded t)
|
||||
(setq org-agenda-files
|
||||
'("~/org/projects/"
|
||||
"~/org/tasks/"))
|
||||
"~/org/tasks/"
|
||||
"~/projects/flashcards/"))
|
||||
|
||||
(require 'org-habit)
|
||||
(add-to-list 'org-modules 'org-habit)
|
||||
@@ -164,6 +171,38 @@
|
||||
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
|
||||
(add-to-list 'org-structure-template-alist '("go" . "src go")))
|
||||
|
||||
(use-package mu4e
|
||||
:config
|
||||
;; Se t to 't' to avoid mail syncing issues w/ mbsync
|
||||
(setq mu4e-change-filenames-when-moving t)
|
||||
|
||||
;; Refresh mail every X minutes
|
||||
(setq mu4e-update-interval (* 10 60))
|
||||
(setq mu4e-get-mail-command "mbsync -a -c ~/.config/mbsync/mbsyncrc")
|
||||
(setq mu4e-maildir "~/mail")
|
||||
|
||||
(setq mu4e-contexts
|
||||
(list
|
||||
;; Work Email
|
||||
(make-mu4e-context
|
||||
:name "work"
|
||||
:match-func
|
||||
(lambda (msg)
|
||||
(when msg
|
||||
(string-prefix-p "/work" (mu4e-message-field msg :maildir))))
|
||||
|
||||
:vars '((user-mail-address . "rorlando@flyingcroc.net")
|
||||
(user-full-name . "Ryan Orlando")
|
||||
(mu4e-drafts-folder . "/work/drafts")
|
||||
(mu4e-sent-folder . "/work/sent")
|
||||
(mu4e-trash-folder . "/work/trash")))))
|
||||
|
||||
(setq mu4e-maildir-shortcuts
|
||||
'(("/work/inbox" . ?i)
|
||||
("/work/sent" . ?s)
|
||||
("/work/trash" . ?t)
|
||||
("/work/drafts" . ?d))))
|
||||
|
||||
(setq rmh-elfeed-org-files (list "~/sync/elfeed/feeds.org"))
|
||||
(add-hook! 'elfeed-search-mode-hook 'elfeed-update)
|
||||
(after! elfeed
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
doom ; what makes DOOM look the way it does
|
||||
doom-dashboard ; a nifty splash screen for Emacs
|
||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||
(emoji +unicode) ; 🙂
|
||||
;;(emoji +unicode) ; 🙂
|
||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
;;hydra
|
||||
;;indent-guides ; highlighted indent columns
|
||||
@@ -45,7 +45,7 @@
|
||||
(evil +everywhere); come to the dark side, we have cookies
|
||||
file-templates ; auto-snippets for empty files
|
||||
fold ; (nigh) universal code folding
|
||||
;;(format +onsave) ; automated prettiness
|
||||
(format +onsave) ; automated prettiness
|
||||
;;god ; run Emacs commands without modifier keys
|
||||
;;lispy ; vim for lisp, for people who don't like vim
|
||||
;;multiple-cursors ; editing in many places at once
|
||||
@@ -164,7 +164,7 @@
|
||||
;;zig ; C, but simpler
|
||||
|
||||
:email
|
||||
;;(mu4e +org +gmail)
|
||||
(mu4e +org +gmail)
|
||||
;;notmuch
|
||||
;;(wanderlust +gmail)
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
(use-package vterm
|
||||
:commands vterm
|
||||
:config
|
||||
(setq vterm-shell "zsh"))
|
||||
|
||||
(package! org-bullets)
|
||||
(package! visual-fill-column)
|
||||
(package! plisp-mode)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 311 KiB After Width: | Height: | Size: 352 KiB |
+13
-8
@@ -141,9 +141,14 @@ mode "resize" {
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Screenshot (Grimshot)
|
||||
|
||||
# Captures the currently active window
|
||||
bindsym $mod+g exec grimshot save active
|
||||
# Allows manually selecting a rectangular region
|
||||
bindsym $mod+Shift+g exec grimshot save area
|
||||
# Captures currently active output
|
||||
bindsym $mod+Mod1+g exec grimshot save output
|
||||
# Allows manually selecting a single window
|
||||
bindsym $mod+Ctrl+g exec grimshot save window
|
||||
|
||||
# Turn the system off
|
||||
@@ -173,7 +178,7 @@ exec /usr/bin/keepassxc
|
||||
exec emacsclient ~/org/tasks.org
|
||||
|
||||
# Bluetooth manager tray applet
|
||||
#exec /usr/bin/blueman-applet
|
||||
exec /usr/bin/blueman-applet
|
||||
|
||||
# Gtk
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
@@ -184,7 +189,7 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500
|
||||
|
||||
# flash focus
|
||||
exec_always --no-startup-id flashfocus
|
||||
exec_always flashfocus
|
||||
|
||||
set $opacity 0.98
|
||||
for_window [class=".*"] opacity $opacity
|
||||
@@ -241,9 +246,9 @@ bindswitch --reload --locked lid:off output $laptop enable
|
||||
|
||||
# Monitors
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
output eDP-1 pos 890 1440 res 1920x1200
|
||||
# output DP-6 pos 1920 0 res 3440x1440
|
||||
output HDMI--A-1 pos 0 0 res 2560x1440
|
||||
#output eDP-1 pos 0 1440 res 1920x1080
|
||||
#output DP-1 pos 0 0 res 3440x1440
|
||||
#output HDMI-A-1 pos 0 0 res 2560x1440
|
||||
|
||||
# Wallpaper
|
||||
#output DP6 bg /home/opal/.config/wallpapers/3.jpg fill #050402
|
||||
@@ -251,10 +256,10 @@ output HDMI--A-1 pos 0 0 res 2560x1440
|
||||
#output eDP-1 bg /home/opal/downloads/img01.jpg fill #000000
|
||||
#output HDMI-A-1 bg /home/opal/.config/wallpapers/3.jpg fill #050402
|
||||
|
||||
output eDP-1 scale 1
|
||||
output eDP-1 pos 700 1440 res 1920x1200 bg /home/opal/.config/wallpapers/wallpaper-town.jpg fill
|
||||
output DP-1 scale 1
|
||||
output DP-1 pos 2560 0 res 1920x1200 bg /home/opal/.config/wallpapers/wallpaper-town.jpg fill
|
||||
output HDMI-A-1 scale 1
|
||||
output HDMI-A-1 pos 0 0 res 3440x1440 bg /home/opal/.config/wallpapers/wallpaper-town.jpg fill
|
||||
output HDMI-A-1 pos 0 0 res 2560x1440 bg /home/opal/.config/wallpapers/wallpaper-town.jpg fill
|
||||
|
||||
|
||||
# Assign workspaces to numbers
|
||||
|
||||
@@ -2,9 +2,23 @@
|
||||
|
||||
* Config.el
|
||||
** Splash Screen
|
||||
Set splash screen image
|
||||
#+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
|
||||
(setq fancy-splash-image "~/.config/doom/splash.png")
|
||||
#+end_src
|
||||
|
||||
Remove the menu items + cursor.
|
||||
#+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
|
||||
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-shortmenu)
|
||||
(add-hook! '+doom-dashboard-mode-hook (hide-mode-line-mode 1) (hl-line-mode -1))
|
||||
(setq-hook! '+doom-dashboard-mode-hook evil-normal-state-cursor (list nil))
|
||||
#+end_src
|
||||
|
||||
** Load Path
|
||||
I have to load mu4e manually from =/usr/share/emacs= for some reason.
|
||||
#+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
|
||||
(add-load-path! "/usr/share/emacs/site-lisp/mu4e")
|
||||
#+end_src
|
||||
** User Info
|
||||
#+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
|
||||
(setq user-full-name "opal"
|
||||
@@ -86,7 +100,8 @@
|
||||
(setq org-startup-folded t)
|
||||
(setq org-agenda-files
|
||||
'("~/org/projects/"
|
||||
"~/org/tasks/"))
|
||||
"~/org/tasks/"
|
||||
"~/projects/flashcards/"))
|
||||
|
||||
(require 'org-habit)
|
||||
(add-to-list 'org-modules 'org-habit)
|
||||
@@ -198,6 +213,48 @@ Creates margins in Org mode to make it more pleasant to look at.
|
||||
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
|
||||
(add-to-list 'org-structure-template-alist '("go" . "src go")))
|
||||
#+end_src
|
||||
** Email (mu4e)
|
||||
Not using this as much atm.
|
||||
#+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
|
||||
(use-package mu4e
|
||||
:config
|
||||
;; Se t to 't' to avoid mail syncing issues w/ mbsync
|
||||
(setq mu4e-change-filenames-when-moving t)
|
||||
|
||||
;; Refresh mail every X minutes
|
||||
(setq mu4e-update-interval (* 10 60))
|
||||
(setq mu4e-get-mail-command "mbsync -a -c ~/.config/mbsync/mbsyncrc")
|
||||
(setq mu4e-maildir "~/mail")
|
||||
|
||||
(setq mu4e-contexts
|
||||
(list
|
||||
;; Work Email
|
||||
(make-mu4e-context
|
||||
:name "work"
|
||||
:match-func
|
||||
(lambda (msg)
|
||||
(when msg
|
||||
(string-prefix-p "/work" (mu4e-message-field msg :maildir))))
|
||||
|
||||
:vars '((user-mail-address . "rorlando@flyingcroc.net")
|
||||
(user-full-name . "Ryan Orlando")
|
||||
(mu4e-drafts-folder . "/work/drafts")
|
||||
(mu4e-sent-folder . "/work/sent")
|
||||
(mu4e-trash-folder . "/work/trash")))))
|
||||
|
||||
(setq mu4e-maildir-shortcuts
|
||||
'(("/work/inbox" . ?i)
|
||||
("/work/sent" . ?s)
|
||||
("/work/trash" . ?t)
|
||||
("/work/drafts" . ?d))))
|
||||
#+end_src
|
||||
** Terminals
|
||||
#+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/packages.el
|
||||
(use-package vterm
|
||||
:commands vterm
|
||||
:config
|
||||
(setq vterm-shell "zsh"))
|
||||
#+end_src
|
||||
** Elfeed
|
||||
Rss reader
|
||||
|
||||
@@ -241,7 +298,7 @@ Rss reader
|
||||
doom ; what makes DOOM look the way it does
|
||||
doom-dashboard ; a nifty splash screen for Emacs
|
||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||
(emoji +unicode) ; 🙂
|
||||
;;(emoji +unicode) ; 🙂
|
||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
;;hydra
|
||||
;;indent-guides ; highlighted indent columns
|
||||
@@ -265,7 +322,7 @@ Rss reader
|
||||
(evil +everywhere); come to the dark side, we have cookies
|
||||
file-templates ; auto-snippets for empty files
|
||||
fold ; (nigh) universal code folding
|
||||
;;(format +onsave) ; automated prettiness
|
||||
(format +onsave) ; automated prettiness
|
||||
;;god ; run Emacs commands without modifier keys
|
||||
;;lispy ; vim for lisp, for people who don't like vim
|
||||
;;multiple-cursors ; editing in many places at once
|
||||
@@ -384,7 +441,7 @@ Rss reader
|
||||
;;zig ; C, but simpler
|
||||
|
||||
:email
|
||||
;;(mu4e +org +gmail)
|
||||
(mu4e +org +gmail)
|
||||
;;notmuch
|
||||
;;(wanderlust +gmail)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user