Fix dashboard layout
This commit is contained in:
parent
034e865922
commit
6baffc794d
1 changed files with 36 additions and 37 deletions
|
@ -89,55 +89,54 @@
|
||||||
;; Dashboard screen using enlight
|
;; Dashboard screen using enlight
|
||||||
(use-package enlight
|
(use-package enlight
|
||||||
:custom
|
:custom
|
||||||
|
(setopt grid-revert-on-width-change t)
|
||||||
(enlight-content
|
(enlight-content
|
||||||
(concat
|
(concat
|
||||||
(grid-make-box `(:align center :content ,enlight-theurgy-logo :width 80))
|
(grid-make-box `(:align center :content ,enlight-theurgy-logo :width 80))
|
||||||
(grid-make-row
|
"\n\n"
|
||||||
|
(grid-make-box `( :content ,(propertize "Theurgy Emacs" 'face 'variable-pitch-serif-text)
|
||||||
|
:width 80 :align center))
|
||||||
|
"\n\n"
|
||||||
|
(grid-make-column
|
||||||
(list
|
(list
|
||||||
(grid-make-box
|
(grid-make-box
|
||||||
`(:content ,(concat
|
`(:content ,(concat
|
||||||
(grid-make-box
|
|
||||||
`( :content
|
|
||||||
,(concat
|
|
||||||
(grid-make-box `( :content ,(propertize "Theurgy Emacs" 'face 'variable-pitch-serif-text)
|
|
||||||
:width 80 :align center)))
|
|
||||||
:width 80))
|
|
||||||
enlight-calendar "\n\n"
|
enlight-calendar "\n\n"
|
||||||
(grid-make-row
|
(grid-make-row
|
||||||
(list (grid-make-box `(:content ,(concat
|
(list (grid-make-box `(:content ,(concat
|
||||||
(enlight-menu
|
(enlight-menu
|
||||||
'(("Exobrain"
|
'(("Exobrain"
|
||||||
("Agenda" (org-agenda nil "a") "a")
|
("Agenda" (org-agenda nil "a") "a")
|
||||||
("Go to Inbox" open-inbox "i")
|
("Go to Inbox" open-inbox "i")
|
||||||
("Capture" org-capture "c")))))
|
("Capture" org-capture "c")))))
|
||||||
:align left
|
:align left
|
||||||
:width 20))
|
:width 20))
|
||||||
(grid-make-box `(:content ,(concat
|
(grid-make-box `(:content ,(concat
|
||||||
(enlight-menu
|
(enlight-menu
|
||||||
'(("Projects"
|
'(("Projects"
|
||||||
("Switch To" theurgy-open-project "p")
|
("Switch To" theurgy-open-project "p")
|
||||||
("Project List" theurgy-edit-projects-list "l")))))
|
("Project List" theurgy-edit-projects-list "l")))))
|
||||||
:align center
|
:align center
|
||||||
:width 20))
|
:width 20))
|
||||||
(grid-make-box `(:content ,(concat
|
(grid-make-box `(:content ,(concat
|
||||||
(enlight-menu
|
(enlight-menu
|
||||||
'(("Userland"
|
'(("Userland"
|
||||||
("Dired" (dired "~") "d")
|
("Dired" (dired "~") "d")
|
||||||
("RSS" elfeed "r")
|
("RSS" elfeed "r")
|
||||||
("Terminal" theurgy-bottom-shell "t")
|
("Terminal" theurgy-bottom-shell "t")
|
||||||
("Gomuks" theurgy-gomuks-workspace "G")
|
("Gomuks" theurgy-gomuks-workspace "G")
|
||||||
("Weather" theurgy-show-weather "w")))))
|
("Weather" theurgy-show-weather "w")))))
|
||||||
:align center
|
:align center
|
||||||
:width 20))
|
:width 20))
|
||||||
(grid-make-box `(:content ,(concat
|
(grid-make-box `(:content ,(concat
|
||||||
(enlight-menu
|
(enlight-menu
|
||||||
'(("Meta"
|
'(("Meta"
|
||||||
("Elisp Scratch" open-elisp-scratch "s")
|
("Elisp Scratch" open-elisp-scratch "s")
|
||||||
("Org Scratch" open-org-scratch "o")
|
("Org Scratch" open-org-scratch "o")
|
||||||
("Init Dir" (dired user-emacs-directory) "e")
|
("Init Dir" (dired user-emacs-directory) "e")
|
||||||
("Info" info "h")))))
|
("Info" info "h")))))
|
||||||
:align right
|
:align right
|
||||||
:width 20)))))
|
:width 20)))))
|
||||||
))
|
))
|
||||||
))
|
))
|
||||||
;(grid-make-box `(:content ,(enlight-weather) :align center))
|
;(grid-make-box `(:content ,(enlight-weather) :align center))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue