Fixed some errors in emacs_home

master
Rostyslav Hnatyshyn 3 years ago
parent 0bd3a93a3d
commit d142fc3372
  1. 1
      bash_home
  2. 29
      emacs_home.el

@ -4,6 +4,7 @@ alias activateLeft='xrandr --output DP-4 --auto --left-of DP-3; i3-msg restart'
alias activateDisplayLink='xrandr --setprovideroutputsource 3 0'
alias closeLaptop='xrandr --output eDP-1-1 --off'
alias activateHome='closeLaptop; activateLeft; activateSync'
alias scan='scanimage --device "airscan:w0:CANON INC. TS6100 series" --format=png --output-file file.png --progress'
alias weather="curl wttr.in/Phoenix"
alias asuvpn='sudo openconnect --csd-wrapper=/usr/lib/openconnect/csd-post.sh --disable-ipv6 --no-proxy --pfs --base-mtu=1000 sslvpn.asu.edu/2fa'

@ -31,31 +31,6 @@
(org-roam-completion-everywhere t)
(org-roam-completion-system 'default)
(org-roam-dailies-directory "daily/")
(org-roam-dailies-capture-templates
'(("d" "default" entry
#'org-roam-capture--get-point
"* %?"
:file-name "Journal/%<%Y-%m-%d>"
:head "#+title: %<%Y-%m-%d %a>\n\n[[roam:%<%Y-%B>]]\n\n")
("t" "Task" entry
#'org-roam-capture--get-point
"* TODO %?\n %U\n %a\n %i"
:file-name "Journal/%<%Y-%m-%d>"
:olp ("Tasks")
:empty-lines 1
:head "#+title: %<%Y-%m-%d %a>\n\n[[roam:%<%Y-%B>]]\n\n")
("j" "journal" entry
#'org-roam-capture--get-point
"* %<%I:%M %p> - Journal :journal:\n\n%?\n\n"
:file-name "Journal/%<%Y-%m-%d>"
:olp ("Log")
:head "#+title: %<%Y-%m-%d %a>\n\n[[roam:%<%Y-%B>]]\n\n")
("m" "meeting" entry
#'org-roam-capture--get-point
"* %<%I:%M %p> - %^{Meeting Title} :meetings:\n\n%?\n\n"
:file-name "Journal/%<%Y-%m-%d>"
:olp ("Log")
:head "#+title: %<%Y-%m-%d %a>\n\n[[roam:%<%Y-%B>]]\n\n")))
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n i" . org-roam-node-insert)
@ -74,12 +49,14 @@
(add-to-list 'auto-mode-alist '("neomutt" . mail-mode))
(setq appt-message-warning-time 15
appt-audible nil
appt-visible t
appt-display-format 'window)
(appt-activate 1)
(defun notify-send (title msg)
(interactive)
(shell-command (concat "notify-send '" title "' '" msg "'")))
(defun facade-notify-appt (min-to-app new-time msg)
(defun facade-notify-appt (min-to-app new-time msg)
(notify-send (format "Appointment in %s minute(s)" min-to-app) msg))
(add-hook 'mail-mode-hook 'flyspell-mode 1)

Loading…
Cancel
Save