diff options
author | jao <jao@gnu.org> | 2022-02-25 17:11:56 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-02-25 17:11:56 +0000 |
commit | 673a6ef63dcf0ef189b74ec6078806907c2d4d69 (patch) | |
tree | fd4d8beb2750ba6afbf6639b57074a4c9c019f09 /init.org | |
parent | 39ea94404da8d4eef52511052755f32be813e9b1 (diff) | |
download | elibs-673a6ef63dcf0ef189b74ec6078806907c2d4d69.tar.gz elibs-673a6ef63dcf0ef189b74ec6078806907c2d4d69.tar.bz2 |
clean-ups
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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 "<home>") #'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 |