;; time and battery in mode-line
(use-feature time
+ :demand
:config
(display-time-mode)
:custom
(display-time-format "%a %b %-e, %-l:%M%P"))
(use-feature battery
+ :demand
:config
(display-battery-mode)
:custom
;; '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 ()
(use-feature elisp-mode
:delight (emacs-lisp-mode "Elisp" :major))
-
(use-package alloy-mode
:straight (:host github :repo "dwwmmn/alloy-mode")
:mode "\\.als\\'"