diff --git a/README.md b/README.md index 2bcb6f3..cf0b0cb 100644 --- a/README.md +++ b/README.md @@ -36,5 +36,5 @@ Why reinvent this particular wheel? * only dependency is `osascript` (with [JXA](https://developer.apple.com/library/archive/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/Introduction.html)) * JavaScript is easier to template with `html/template` * on other UNIXes: - * wraps either one of `matedialog`, `qarma`, `zenity` - * in that order of preference, most to least specific + * wraps either one of `qarma`, `zenity`, `matedialog` + * in that order of preference diff --git a/internal/zen/zen_unix.go b/internal/zen/zen_unix.go index 99e2468..cc5c0ff 100644 --- a/internal/zen/zen_unix.go +++ b/internal/zen/zen_unix.go @@ -13,7 +13,7 @@ import ( var tool, path string func init() { - for _, tool = range [3]string{"matedialog", "qarma", "zenity"} { + for _, tool = range [3]string{"qarma", "zenity", "matedialog"} { path, _ = exec.LookPath(tool) if path != "" { return