Add libnotify for #emacs notifications

This commit is contained in:
Colin Powell
2020-03-31 08:28:46 -04:00
parent edfac1f75f
commit 6f10929c67
2 changed files with 6 additions and 4 deletions

View File

@ -341,13 +341,14 @@
(use-package! alert
:commands (alert)
:init
(setq alert-default-style 'notifier))
(setq alert-default-style 'libnotify))
(map! :leader
(:prefix "r"
:desc "Slack channels" "s" #'slack-start
:desc "Slack channels" "c" #'slack-channel-select
:desc "Slack IMs" "i" #'slack-im-select
:desc "Slack groups" "i" #'slack-group-select
:desc "Slack groups" "g" #'slack-group-select
:desc "Slack threads" "t" #'slack-all-threads))
(load! "beancount")

View File

@ -451,15 +451,16 @@ There's gotta be a way to get the token out of password-store for this.
(use-package! alert
:commands (alert)
:init
(setq alert-default-style 'notifier))
(setq alert-default-style 'libnotify))
#+END_SRC
** Key bindings
#+BEGIN_SRC emacs-lisp
(map! :leader
(:prefix "r"
:desc "Slack channels" "s" #'slack-start
:desc "Slack channels" "c" #'slack-channel-select
:desc "Slack IMs" "i" #'slack-im-select
:desc "Slack groups" "i" #'slack-group-select
:desc "Slack groups" "g" #'slack-group-select
:desc "Slack threads" "t" #'slack-all-threads))
#+END_SRC
* Beancount