diff options
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/init.el | 1 | ||||
-rw-r--r-- | .config/emacs/modules/bd--modeline.el | 17 | ||||
-rw-r--r-- | .config/emacs/modules/bd--shells.el | 3 |
3 files changed, 1 insertions, 20 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 65be41a..1018c27 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -65,6 +65,5 @@ (require 'bd--roam) (require 'bd--emms) (require 'bd--modeline) -;; (require 'bd--exwm-windowing) (server-start) 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 diff --git a/.config/emacs/modules/bd--shells.el b/.config/emacs/modules/bd--shells.el index 67415e9..ae34bbe 100644 --- a/.config/emacs/modules/bd--shells.el +++ b/.config/emacs/modules/bd--shells.el @@ -5,8 +5,7 @@ ;;;; term -(defalias 'term 'ansi-term) - +(with-eval-after-load "term" (defalias 'term 'ansi-term)) ;;;; eshell (defun bd/get-prompt-path () |