From 673a6ef63dcf0ef189b74ec6078806907c2d4d69 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 25 Feb 2022 17:11:56 +0000 Subject: clean-ups --- init.org | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'init.org') diff --git a/init.org b/init.org index 601942f..a5a96f8 100644 --- a/init.org +++ b/init.org @@ -547,7 +547,7 @@ (jao-trisect) (jao-set-transparency 85) (jao-themes-setup) - (display-time-mode 1) + ;; (display-time-mode 1) (global-set-key (kbd "s-f") #'jao-sway-run-or-focus-firefox) (message "Welcome to sway")) @@ -693,7 +693,7 @@ #+end_src *** Minibuffer #+begin_src emacs-lisp - (defvar jao-modeline-in-minibuffer-p t) + (defvar jao-modeline-in-minibuffer-p (and window-system t)) (use-package jao-minibuffer :init @@ -759,9 +759,7 @@ (jao--set-inactive-face 'unspecified frame)) (when (and window-system (not jao-modeline-in-minibuffer-p)) - (add-hook 'after-init-hook #'jao-toggle-inactive-mode-line)) - - (unless jao-modeline-in-minibuffer-p + (add-hook 'after-init-hook #'jao-toggle-inactive-mode-line) (add-to-list 'after-make-frame-functions #'jao--hide-inactive-mode-line)) (global-set-key (kbd "") #'jao-toggle-inactive-mode-line) @@ -784,7 +782,7 @@ battery-mode-line-limit 40 battery-echo-area-format "%L %r %B (%p%% load, remaining time %t)" - battery-mode-line-format " %b%p ")) + battery-mode-line-format " %b%p ")) ;; " 🔋%b%p " (display-battery-mode 1) (with-eval-after-load "jao-minibuffer" (unless jao-modeline-in-minibuffer-p @@ -1683,6 +1681,7 @@ * Email #+begin_src emacs-lisp (setq jao-afio-mail-function 'notmuch) + ;; (setq jao-afio-mail-function 'gnus) (jao-load-org "email") #+end_src * PDFs -- cgit v1.2.3