diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-10-23 09:58:04 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-10-23 09:58:04 -0700 |
| commit | dc6aa6eafced05ef596961223ecf17c16df9db03 (patch) | |
| tree | de312102aa71c14d2bb668e770c630fefb5d43ff | |
| parent | 7be2130bfe376dee962579be6924bc333e33346e (diff) | |
exwm + time fix
| -rw-r--r-- | emacs/init.el | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/emacs/init.el b/emacs/init.el index 361d05e..1e41e3f 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -737,15 +737,19 @@ changes." (push ?\C-\\ exwm-input-prefix-keys) ;;C-\ to switch input method (push ?\C-u exwm-input-prefix-keys) ;; send C-u to all windows too (push ?\M-L exwm-input-prefix-keys) - (when (equal window-system 'x) - (exwm-enable)) - (when (s-equals? (getenv "INSIDE_EXWM") "1") - (display-time-mode 1) - (display-battery-mode 1) - (ednc-mode 1)) + (progn + (exwm-wm-mode) + ;; (display-time-mode 1) + ;; (display-battery-mode 1) + ;; (ednc-mode 1) + ) :hook (exwm-update-class . my/exwm-set-buffer-name) (exwm-update-title . my/exwm-set-buffer-name) + (after-init . exwm-randr-refresh) + (after-init . display-time-mode) + (after-init . ednc-mode) + (after-init . display-battery-mode) :custom (exwm-replace nil) (exwm-title-length 50) |
