Skip to content

r4gus/zigenity

Repository files navigation

zigenity

Like zenity but in Zig and only for Linux.

Question Dialog

Dialog Types

Type Supported
calendar
entry
error
info
file-selection
list
notification
progress
question
warning
scale
text-info
color-selection
password
forms

Dependency

  • gtk+-3.0

Getting started

To build this application you need Zig 0.11.0. After installing Zig run the following commands to build the application:

git clone https://github.com/r4gus/zigenity.git
cd zigenity
zig build -Doptimize=ReleaseSmall

Run zigenity --help for a list of options.

This application uses the same return codes and options as zenity, including:

  • 0 - Ok button was pressed
  • 1 - Cancel button was pressed
  • 5 - Timeout (this is only returned when using the --timeout option)
  • 255 - Some other error (e.g., no dialog type has been selected)