2025-01-08 18:53:29 +00:00
|
|
|
; Command prompt
|
|
|
|
(defwindow executioner []
|
|
|
|
:geometry (
|
|
|
|
geometry
|
|
|
|
:x "0%"
|
|
|
|
:y "0%"
|
|
|
|
:height "70px"
|
2025-01-09 15:31:40 +00:00
|
|
|
:width "450px"
|
2025-01-08 18:53:29 +00:00
|
|
|
:anchor "center center"
|
|
|
|
)
|
|
|
|
:monitor 0
|
|
|
|
:stacking "fg"
|
2025-01-09 15:31:40 +00:00
|
|
|
:windowtype "dialog"
|
2025-01-12 20:29:13 +00:00
|
|
|
:wm-ignore false
|
2025-01-08 18:53:29 +00:00
|
|
|
:active true
|
|
|
|
:focusable true
|
|
|
|
:class "cmd_window"
|
|
|
|
|
|
|
|
(cmd_input)
|
|
|
|
)
|
|
|
|
|
|
|
|
(defwidget cmd_input []
|
|
|
|
(input
|
|
|
|
:class "cmd_input_field"
|
|
|
|
:active true
|
|
|
|
:halign "fill"
|
2025-01-09 15:31:40 +00:00
|
|
|
:height "70"
|
|
|
|
:width "450"
|
2025-01-12 20:29:13 +00:00
|
|
|
:value "cmd:"
|
2025-01-08 18:53:29 +00:00
|
|
|
:password false
|
2025-01-12 20:29:13 +00:00
|
|
|
:onaccept "eww close executioner && exec {}"
|
2025-01-09 15:31:40 +00:00
|
|
|
:timeout "1s"
|
2025-01-08 18:53:29 +00:00
|
|
|
)
|
|
|
|
)
|