Skip to content

A simply GUI app to prompt the user for some input, for use in scripts.

Notifications You must be signed in to change notification settings

mastermach50/qprompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qprompt

A simply GUI app to prompt the user for some input, like passwords. qprompt is built using iced-rs an hence supports wayland. The text given by the user is simply printed to stdout so that this can be used in scripts.

Examples

qprompt | sudo -S wireshark

When this command is run using some app launcher the user can input the password without needing an open terminal.

or

qprompt can be set as the default askpass program used by sudo using the SUDO_ASKPASS environment variable. Then the following command will use qprompt to prompt the password

sudo -A gparted

Screenshot

screenshot

Building

Without nix

Install rust and run cargo b --release

With nix

nix-build

TODO

Feature Status
Secure input
Enter is submit
Automatically focus on input field
Program icon
More config options

About

A simply GUI app to prompt the user for some input, for use in scripts.

Resources

Stars

Watchers

Forks

Packages

No packages published