summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--modeline.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/bd--modeline.el')
-rw-r--r--.config/emacs/modules/bd--modeline.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/.config/emacs/modules/bd--modeline.el b/.config/emacs/modules/bd--modeline.el
index f297923..f508ce0 100644
--- a/.config/emacs/modules/bd--modeline.el
+++ b/.config/emacs/modules/bd--modeline.el
@@ -46,21 +46,6 @@
"displays current time and date in selected window.")
-;;;; notification-server
-(use-package ednc
- :init
- (defun get-num-notifications ()
- "Return number of active notifcations as a string."
- (format "%s" (length (ednc-notifications))))
-
- (defvar-local bd/notify-mode-line
- '(:eval (when (and (ednc-notifications) (mode-line-window-selected-p))
- (format " %s %s" (all-the-icons-material "notifications_active")
- (propertize (get-num-notifications) 'face 'error))))
- "Formats the notification number.")
- (ednc-mode))
-
-
;;;; buffer name
(defun modeline-buffer-name ()
"Return 'buffer-name' with proper spacing and icon."
@@ -104,7 +89,6 @@
(dolist (construct '(bd/time-mode-line
- bd/notify-mode-line
bd/buffer-identification-mode-line
bd/vc-mode-line
bd/emms-mode-line))
@@ -121,7 +105,6 @@
mode-line-modes
" "
mode-line-modified
- bd/notify-mode-line
bd/vc-mode-line
" "
bd/emms-mode-line