slint/examples/bash
Simon Hausmann 434f13a741 Use "close" instead of "ok" in the sysinfo dialog
Because that's what the button does, there's no need to "okay" :)
2021-10-07 11:09:55 +02:00
..
README.md Add an example using bash and jq 2021-09-30 17:51:14 +02:00
simple_input.sh Fix capitalization of simple input dialog 2021-10-06 16:15:32 +02:00
sysinfo.60 Use "close" instead of "ok" in the sysinfo dialog 2021-10-07 11:09:55 +02:00
sysinfo_linux.sh Show the OS name in the sysinfo example 2021-10-04 16:47:28 +02:00
sysinfo_macos.sh Show the OS name in the sysinfo example 2021-10-04 16:47:28 +02:00

SixtyFPS Bash example

This shows how to use sixtyfps-viewer to display dialog from a bash script.

This assume that the sixtyfps-viewer tool is in patch. This can be achieved with cargo install. (use the --path tools/viewer option to install it from the current repository.)

cargo install sixtyfps-viewer

The examples also assume that jq is in the path

  • simple_input.sh: shows how to query a few parameter with bash