lunarcloud / script-dialog Goto Github PK
View Code? Open in Web Editor NEWAllows a bash script to use the best available TUI or GUI dialog system
License: GNU Lesser General Public License v2.1
Allows a bash script to use the best available TUI or GUI dialog system
License: GNU Lesser General Public License v2.1
whiptail and pure text aren't good at drilling down into folders, and need support added to them to do so.
This is supported by the dialog interfaces, so we should too.
It fails to detect current desktop,
$XDG_CURRENT_DESKTOP output is "ubuntu:GNOME"
The other interfaces do.
the override used while testing was left in.
At least in the test script on Ubuntu 19.04
Only the base text interface, maybe TUIs are cancelable due to the CTRL+C / CTRL+Z shortcuts.
Should add cancel buttons and let the script kill itself.
Calling to it like one would dialog, as opposed to an included script via source
Would be a nice feature.
Zenity dialogs have bad habit of making the window very wide if you have a long text string. I like to set the width so that the text wraps on to several lines with a shorter width or easier readability.
To be able to do that one needs to be able to set the --width= on the Zenity dialogs. Please consider adding this functionality.
Thanks!
Frederick
Instead of something that needs to be cut, return something that can be read as a standard bash array.
Make sure we handle, as best we can, detecting CTRL+C/Z and clicking the close window button.
It may not be possible to have quit conditions, but that's to be determined.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.