summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el22
1 files changed, 22 insertions, 0 deletions
diff --git a/init.el b/init.el
index da874cb..052b667 100644
--- a/init.el
+++ b/init.el
@@ -569,6 +569,27 @@
:init (setq jao-tracking-bkg (if (jao-colors-scheme-dark-p) "grey20" "grey93"))
:config (jao-tracking-setup))
+;;;; ednc
+
+(use-package ednc
+ :ensure t
+ :diminish)
+
+(use-package jao-ednc
+ :demand t
+ :init (setq jao-ednc-use-tracking t)
+ :commands (jao-ednc-setup)
+ :after ednc
+ :config
+ (transient-define-prefix jao-transient-ednc ()
+ ["Notifications"
+ ("s" "show last" jao-ednc-show)
+ ("S" "show all" jao-ednc-pop)
+ ("d" "dismiss last" jao-ednc-dismiss)
+ ("D" "dismiss all" jao-ednc-dismiss-all)
+ ("i" "invoke last action" jao-ednc-invoke-last-action)])
+ (global-set-key (kbd "s-n") #'jao-transient-ednc))
+
;;; Calendar, diary, weather
;;;; diary
(setq diary-file (expand-file-name "diary" jao-org-dir)
@@ -3028,6 +3049,7 @@
(require 'jao-custom-exwm)
(setq jao-exwm-enabled t)
(display-time-mode -1)
+ (jao-ednc-setup 95)
(jao-mode-line-add-to-minibuffer-left)
(exwm-enable)
(x-change-window-property "_XMONAD_TRAYPAD" "" nil nil nil nil 0)