This commit is contained in:
BirDt_ 2025-09-27 10:34:40 +08:00
parent 3a519bc657
commit aa27a46d65

View file

@ -86,7 +86,12 @@
(concat (propertize "Weather\n\n" 'face 'font-lock-keyword-face)
"No connection to weather service :(")))
(defvar default-dash
;; Dashboard screen using enlight
(use-package enlight
:custom
(setopt grid-revert-on-width-change t)
(defvar default-dash
`(:content ,(concat
enlight-calendar "\n\n"
(grid-make-row
@ -126,7 +131,7 @@
:width 20)))))
))
(defvar android-dash
(defvar android-dash
`(:content ,(concat
(grid-make-row
(list (grid-make-column (grid-make-box `(:content ,(concat
@ -165,15 +170,11 @@
:width 20))))))
))
(defvar dashboard-content
(defvar dashboard-content
(cond
((equal system-type 'android) android-dash)
(else default-dash)))
;; Dashboard screen using enlight
(use-package enlight
:custom
(setopt grid-revert-on-width-change t)
(enlight-content
(concat
(grid-make-box `(:align center :content ,enlight-theurgy-logo :width 80))