From 89a2019176ecd969d4ac594cceba7582f508df83 Mon Sep 17 00:00:00 2001 From: BirDt_ Date: Sat, 27 Sep 2025 09:26:32 +0800 Subject: [PATCH] Update grid API --- screens/dashboard.el | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/screens/dashboard.el b/screens/dashboard.el index 0ed0742..59ccf89 100644 --- a/screens/dashboard.el +++ b/screens/dashboard.el @@ -91,20 +91,20 @@ :custom (enlight-content (concat - (grid-get-box `(:align center :content ,enlight-theurgy-logo :width 80)) - (grid-get-row + (grid-make-box `(:align center :content ,enlight-theurgy-logo :width 80)) + (grid-make-row (list - (grid-get-box + (grid-make-box `(:content ,(concat - (grid-get-box + (grid-make-box `( :content ,(concat - (grid-get-box `( :content ,(propertize "Theurgy Emacs" 'face 'variable-pitch-serif-text) + (grid-make-box `( :content ,(propertize "Theurgy Emacs" 'face 'variable-pitch-serif-text) :width 80 :align center))) :width 80)) enlight-calendar "\n\n" - (grid-get-row - (list (grid-get-box `(:content ,(concat + (grid-make-row + (list (grid-make-box `(:content ,(concat (enlight-menu '(("Exobrain" ("Agenda" (org-agenda nil "a") "a") @@ -112,14 +112,14 @@ ("Capture" org-capture "c"))))) :align left :width 20)) - (grid-get-box `(:content ,(concat + (grid-make-box `(:content ,(concat (enlight-menu '(("Projects" ("Switch To" theurgy-open-project "p") ("Project List" theurgy-edit-projects-list "l"))))) :align center :width 20)) - (grid-get-box `(:content ,(concat + (grid-make-box `(:content ,(concat (enlight-menu '(("Userland" ("Dired" (dired "~") "d") @@ -129,7 +129,7 @@ ("Weather" theurgy-show-weather "w"))))) :align center :width 20)) - (grid-get-box `(:content ,(concat + (grid-make-box `(:content ,(concat (enlight-menu '(("Meta" ("Elisp Scratch" open-elisp-scratch "s") @@ -140,7 +140,7 @@ :width 20))))) )) )) - ;(grid-get-box `(:content ,(enlight-weather) :align center)) + ;(grid-make-box `(:content ,(enlight-weather) :align center)) ))) (setopt initial-buffer-choice #'enlight)