diff options
author | bd <bdunahu@colostate.edu> | 2024-03-09 22:21:34 -0700 |
---|---|---|
committer | bd <bdunahu@colostate.edu> | 2024-03-09 22:21:34 -0700 |
commit | 5cf1dc72f1a22ff6b2428d0f1f439f1c8d30c576 (patch) | |
tree | c156e2174a0c53a2e7790a0bdbb57319b3528574 /.config/emacs/modules/bd--modeline.el | |
parent | 443504c783443e568148bc467d740381deaf814c (diff) |
Added alpha patch to dwm, minor cleanup
Diffstat (limited to '.config/emacs/modules/bd--modeline.el')
-rw-r--r-- | .config/emacs/modules/bd--modeline.el | 17 |
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 |