mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
| .. | ||
| laptop.svg | ||
| README.md | ||
| simple_input.sh | ||
| sysinfo.60 | ||
| sysinfo_linux.sh | ||
| sysinfo_macos.sh | ||
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
Attributions
The laptop.svg icon is emoji_u1f4bb.svg from the Noto Emoji font from
https://github.com/googlefonts/noto-emoji
and licensed under the terms of the Apache license, version 2.0; copyright Google Inc.