33 lines
633 B
Plaintext
33 lines
633 B
Plaintext
; Command prompt
|
|
(defwindow executioner []
|
|
:geometry (
|
|
geometry
|
|
:x "0%"
|
|
:y "0%"
|
|
:height "70px"
|
|
:width "300px"
|
|
:anchor "center center"
|
|
)
|
|
:monitor 0
|
|
:stacking "fg"
|
|
:windowtype "dock"
|
|
:wm-ignore true
|
|
:active true
|
|
:focusable true
|
|
:class "cmd_window"
|
|
|
|
(cmd_input)
|
|
)
|
|
|
|
(defwidget cmd_input []
|
|
(input
|
|
:class "cmd_input_field"
|
|
:active true
|
|
:halign "fill"
|
|
:height "70px"
|
|
:width "300px"
|
|
:value "cmd:"
|
|
:password false
|
|
:onaccept "fish {}"
|
|
)
|
|
) |