non important commit
This commit is contained in:
parent
f0dcdaf05d
commit
9015f0a7a3
1 changed files with 14 additions and 31 deletions
|
|
@ -1,34 +1,17 @@
|
||||||
(defwindow example
|
(
|
||||||
|
defwindow clock
|
||||||
:monitor 0
|
:monitor 0
|
||||||
:geometry (geometry :x "0%"
|
:geometry (
|
||||||
:y "10%"
|
geometry :x "75%"
|
||||||
|
:y "5%"
|
||||||
:width "90%"
|
:width "90%"
|
||||||
:height "5%"
|
:height "5%"
|
||||||
:anchor "top center")
|
:anchor "top center"
|
||||||
|
)
|
||||||
|
|
||||||
:stacking "bg"
|
:stacking "bg"
|
||||||
:windowtype "dock"
|
:windowtype "dock"
|
||||||
:wm-ignore false
|
:wm-ignore true
|
||||||
|
|
||||||
(
|
|
||||||
box :orientation "vertical"
|
|
||||||
(greeter :text "Say hello!"
|
|
||||||
:name "Tim"
|
|
||||||
)
|
|
||||||
|
|
||||||
"example content"
|
"example content"
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(
|
|
||||||
defwidget greeter [?text name]
|
|
||||||
(
|
|
||||||
box :orientation "horizontal"
|
|
||||||
:halign "center"
|
|
||||||
|
|
||||||
text
|
|
||||||
(
|
|
||||||
button :onclick "echo 'Hello' 'Hello, ${name}'"
|
|
||||||
"Greet"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue