X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/319c6483dd7c28e288cbe17b47bd64e0d2b101ae..218e3f10356233fc87a222169281eac1c2b7eb16:/.emacs.d/init.el?ds=sidebyside diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c2fc616..f1f4b1f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -396,6 +396,7 @@ For disabling the behaviour for certain buffers and/or modes." ;; time and battery in mode-line (use-feature time + :demand :config (display-time-mode) :custom @@ -403,6 +404,7 @@ For disabling the behaviour for certain buffers and/or modes." (display-time-format "%a %b %-e, %-l:%M%P")) (use-feature battery + :demand :config (display-battery-mode) :custom @@ -599,7 +601,7 @@ around if needed." ;; 's-\': Switch workspace (exwm-input-set-key (kbd "s-\\") #'exwm-workspace-switch) ;; 's-N': Switch to certain workspace - (dotimes (i 10) + (dotimes (i exwm-workspace-number) (exwm-input-set-key (kbd (format "s-%d" i)) (lambda () @@ -1333,7 +1335,6 @@ This function is intended for use with `ivy-ignore-buffers'." (use-feature elisp-mode :delight (emacs-lisp-mode "Elisp" :major)) - (use-package alloy-mode :straight (:host github :repo "dwwmmn/alloy-mode") :mode "\\.als\\'"