From 0e5fe688eb735c7ca985e1e718f51b32ca1790d4 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sat, 15 Oct 2022 14:57:00 -0400 Subject: [PATCH] Quote zenity window icon path to handle spaces --- lug-helper.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index fd09f50..3230522 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -232,17 +232,17 @@ message() { "info") # info message # call format: message info "text to display" - margs=("--info" "--window-icon=$lug_logo" "--no-wrap" "--text=") + margs=("--info" "--window-icon=\"$lug_logo\"" "--no-wrap" "--text=") ;; "warning") # warning message # call format: message warning "text to display" - margs=("--warning" "--window-icon=$lug_logo" "--text=") + margs=("--warning" "--window-icon=\"$lug_logo\"" "--text=") ;; "question") # question # call format: if message question "question to ask?"; then... - margs=("--question" "--window-icon=$lug_logo" "--text=") + margs=("--question" "--window-icon=\"$lug_logo\"" "--text=") ;; *) debug_print exit "Script Error: Invalid message type passed to the message function. Aborting."