How can I create popup windows?

I have a small script run by cronjobs to synchronize a git repository every 2 hours. The git will be pushed to the server with a constant message. How can I have a popup windows which ask the message before the changes will be committed? So I will get a popup windows every 2 hours and I just have to enter a short description that what I have modified on the code.

1

1 Answer

A Zenity command like this might help

zenity --entry --text "Enter short description:" --entry-text=""

Command returns your short description so you need to work that into your cronjob

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like