diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-11-20 08:35:32 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-11-20 08:35:32 -0800 |
| commit | 63788b493e6d4ee22ad66f60052c0025e2bba6bd (patch) | |
| tree | 41fe1a0bed927dc4e2575ef2da967a3339dd40c6 /emacs | |
| parent | 39e3fc297d61654b8f49f4e28ec46fad040891d0 (diff) | |
emacs+fbterm
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.el | 4 | ||||
| -rw-r--r-- | emacs/site-lisp/fbterm.el | 13 | ||||
| -rwxr-xr-x | emacs/site-lisp/single-header.el | 9 |
3 files changed, 16 insertions, 10 deletions
diff --git a/emacs/init.el b/emacs/init.el index 0c3cf01..76d431b 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1042,14 +1042,14 @@ changes." (use-package time :demand t :config - (display-time-mode 1) + ;; (display-time-mode 1) :custom (display-time-day-and-date t) (display-time-24hr-format t)) (use-package battery :demand t :config - (display-battery-mode 1) + ;; (display-battery-mode 1) ) (use-package ednc :demand t diff --git a/emacs/site-lisp/fbterm.el b/emacs/site-lisp/fbterm.el new file mode 100644 index 0000000..b8b3ba4 --- /dev/null +++ b/emacs/site-lisp/fbterm.el @@ -0,0 +1,13 @@ +;; config specifically for running emacs as the base process of fbterm + + +(require 'ednc) +(require 'single-header) + +;;; Code: + +(unless ednc-mode (ednc-mode 1)) +(unless single-header-mode (single-header-mode 1)) + +(provide 'fbterm) +;;; fbterm.el ends here diff --git a/emacs/site-lisp/single-header.el b/emacs/site-lisp/single-header.el index 851d4d5..c5cab2b 100755 --- a/emacs/site-lisp/single-header.el +++ b/emacs/site-lisp/single-header.el @@ -1,6 +1,6 @@ ;; single-header --- Display a topline inside each frame with global info -*- lexical-binding: t; -*- -;; Author: Thomas Ulmer <tccq@proton.me> +;; Author: Thomas Ulmer ;; Package-Requires: ((ednc) (battery) (s) (dash)) ;; Package-Version 1.0 @@ -14,11 +14,6 @@ ;;; Code: -;; not toggled with the mode to prevent user from having to restart -;; applications producing notifs. -(when (equal window-system 'x) - (ednc-mode 1)) - ;; testing ;; (require 'notifications) ;; (notifications-notify :title "2st test" :body "hello, world" :app-name "EDNC" @@ -244,8 +239,6 @@ arg, dismiss all the notifications." (set-frame-parameter f 'single-header-win nil)) (frame-list))) - - (define-minor-mode single-header-mode "Global minor mode to enable a single info line at the top of each frame." :group 'single-header |
