summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorbd <bdunahu@colostate.edu>2024-03-09 22:21:34 -0700
committerbd <bdunahu@colostate.edu>2024-03-09 22:21:34 -0700
commit5cf1dc72f1a22ff6b2428d0f1f439f1c8d30c576 (patch)
treec156e2174a0c53a2e7790a0bdbb57319b3528574 /.config/emacs
parent443504c783443e568148bc467d740381deaf814c (diff)
Added alpha patch to dwm, minor cleanup
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el1
-rw-r--r--.config/emacs/modules/bd--modeline.el17
-rw-r--r--.config/emacs/modules/bd--shells.el3
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 ()