slint/examples/bash
2021-10-07 11:27:10 +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 sysinfo example: Improve the disk use section 2021-10-07 11:27:10 +02:00
sysinfo_linux.sh sysinfo example: Improve the disk use section 2021-10-07 11:27:10 +02:00
sysinfo_macos.sh sysinfo example: Improve the disk use section 2021-10-07 11:27:10 +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