slint/examples/bash
2021-10-06 15:24:48 +02:00
..
README.md Add an example using bash and jq 2021-09-30 17:51:14 +02:00
simple_input.sh Add missing colon for simple input dialog eaxmple 2021-10-06 15:24:48 +02:00
sysinfo.60 Show the OS name in the sysinfo example 2021-10-04 16:47:28 +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