grml-lock: drop gdialog usage and don't wrap text in zenity
authorMichael Prokop <mika@grml.org>
Sun, 19 Jul 2020 15:54:57 +0000 (17:54 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 19 Jul 2020 16:02:16 +0000 (18:02 +0200)
commit09e5d68bc4435ea877dc179825812ad422ff5f86
tree235538b224c69933aaf7097457976e9eb829fcab
parent749ee8e3462c2e794f4a8b5d88c38ed838987b09
grml-lock: drop gdialog usage and don't wrap text in zenity

gdialog is a compatibility wrapper around zenity and encourages
users to switch to usage of zenity, let's follow this recommendation.

Older zenity versions (like 3.14.0) had a different wrapping
behavior than more current versions (like 3.30.0). To avoid
small dialogs with only one or two words on each line (which
is ugly and close to unreadable) let's avoid wrapping text.

While at it fix some minor issues reported by shellcheck.

This work was funded by Grml-Forensic.
usr_bin/grml-lock