mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 17:04:22 +00:00
Use the lug logo for zenity's taskbar icon
This commit is contained in:
parent
7a4de1ad21
commit
fe2b9f56c0
@ -157,17 +157,17 @@ message() {
|
|||||||
"info")
|
"info")
|
||||||
# info message
|
# info message
|
||||||
# call format: message info "text to display"
|
# call format: message info "text to display"
|
||||||
margs=("--info" "--no-wrap" "--text=")
|
margs=("--info" "--window-icon=lug-logo.png" "--no-wrap" "--text=")
|
||||||
;;
|
;;
|
||||||
"warning")
|
"warning")
|
||||||
# warning message
|
# warning message
|
||||||
# call format: message warning "text to display"
|
# call format: message warning "text to display"
|
||||||
margs=("--warning" "--text=")
|
margs=("--warning" "--window-icon=lug-logo.png" "--text=")
|
||||||
;;
|
;;
|
||||||
"question")
|
"question")
|
||||||
# question
|
# question
|
||||||
# call format: if message question "question to ask?"; then...
|
# call format: if message question "question to ask?"; then...
|
||||||
margs=("--question" "--text=")
|
margs=("--question" "--window-icon=lug-logo.png" "--text=")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
debug_print exit "Script Error: Invalid message type passed to the message function. Aborting."
|
debug_print exit "Script Error: Invalid message type passed to the message function. Aborting."
|
||||||
@ -277,7 +277,7 @@ menu() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Display the zenity radio button menu
|
# Display the zenity radio button menu
|
||||||
choice="$(zenity --list --radiolist --width="400" --height="$menu_height" --text="$menu_text_zenity" --title="Star Citizen LUG Helper" --hide-header --column="" --column="Option" "${zen_options[@]}" 2>/dev/null)"
|
choice="$(zenity --list --radiolist --width="400" --height="$menu_height" --text="$menu_text_zenity" --title="Star Citizen LUG Helper" --hide-header --window-icon=lug-logo.png --column="" --column="Option" "${zen_options[@]}" 2>/dev/null)"
|
||||||
|
|
||||||
# Loop through the options array to match the chosen option
|
# Loop through the options array to match the chosen option
|
||||||
matched="false"
|
matched="false"
|
||||||
|
Loading…
Reference in New Issue
Block a user