41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
(defvar homewidgets_reveal false)
|
|
|
|
(defwidget home []
|
|
(revealer :transition "slideright"
|
|
:reveal homewidgets_reveal
|
|
:duration "250ms"
|
|
|
|
(box :orientation 'v'
|
|
:space-evenly false
|
|
(box :height 27)
|
|
(scroll :vscroll true
|
|
:hscroll false
|
|
:vexpand true
|
|
:height 400
|
|
(box :class "home"
|
|
:orientation "v"
|
|
:spacing 10
|
|
:width 300
|
|
:space-evenly false
|
|
(nowplayingbar)
|
|
(rat)
|
|
(shortcuts_revealer)
|
|
(weather_revealer)
|
|
(mcstatus_revealer)
|
|
(box
|
|
(notes_revealer))
|
|
(box
|
|
(reminders_revealer))
|
|
)))))
|
|
|
|
;widget templates
|
|
(include "modules/home/revealer-on-press.yuck")
|
|
|
|
;module imports
|
|
(include "modules/home/nowplayingart.yuck")
|
|
(include "modules/home/rat.yuck")
|
|
(include "modules/home/weather.yuck")
|
|
(include "modules/home/shortcuts.yuck")
|
|
(include "modules/home/notes.yuck")
|
|
(include "modules/home/reminders.yuck")
|
|
(include "modules/home/mcstatus.yuck")
|