scoping
This commit is contained in:
parent
3a519bc657
commit
aa27a46d65
1 changed files with 85 additions and 84 deletions
|
@ -86,7 +86,12 @@
|
||||||
(concat (propertize "Weather\n\n" 'face 'font-lock-keyword-face)
|
(concat (propertize "Weather\n\n" 'face 'font-lock-keyword-face)
|
||||||
"No connection to weather service :(")))
|
"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
|
`(:content ,(concat
|
||||||
enlight-calendar "\n\n"
|
enlight-calendar "\n\n"
|
||||||
(grid-make-row
|
(grid-make-row
|
||||||
|
@ -126,7 +131,7 @@
|
||||||
:width 20)))))
|
:width 20)))))
|
||||||
))
|
))
|
||||||
|
|
||||||
(defvar android-dash
|
(defvar android-dash
|
||||||
`(:content ,(concat
|
`(:content ,(concat
|
||||||
(grid-make-row
|
(grid-make-row
|
||||||
(list (grid-make-column (grid-make-box `(:content ,(concat
|
(list (grid-make-column (grid-make-box `(:content ,(concat
|
||||||
|
@ -165,15 +170,11 @@
|
||||||
:width 20))))))
|
:width 20))))))
|
||||||
))
|
))
|
||||||
|
|
||||||
(defvar dashboard-content
|
(defvar dashboard-content
|
||||||
(cond
|
(cond
|
||||||
((equal system-type 'android) android-dash)
|
((equal system-type 'android) android-dash)
|
||||||
(else default-dash)))
|
(else default-dash)))
|
||||||
|
|
||||||
;; Dashboard screen using enlight
|
|
||||||
(use-package enlight
|
|
||||||
: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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue