diff --git a/src/info.plist b/src/info.plist
index 00d54a4..37374a8 100644
--- a/src/info.plist
+++ b/src/info.plist
@@ -73,7 +73,8 @@ tell application "System Events"
tell process theQuery
set value of attribute
script
set theQuery to "{query}"
tell application "System Events"
set listOfProcesses to (name of every process where background only is false)
end tell
set xml to "<?xml version=\"1.0\"?><items>"
repeat with process in listOfProcesses
if process starts with theQuery or theQuery is equal to "" then
- set bid to id of application process
set xmlItem to "<item uid=\"" & process & "\" arg=\"" & process & "\" autocomplete=\"" & process & "\" type=\"file\"> <title>" & process & "</title>" & "</item>"
set xml to xml & xmlItem
+ set icon to "<icon type=\"fileicon\">" & POSIX path of (path to application process) & "</icon>"
+ set bid to id of application process
set xmlItem to "<item uid=\"" & process & "\" arg=\"" & process & "\" autocomplete=\"" & process & "\" type=\"file\"> <title>" & process & "</title>" & icon & "</item>"
set xml to xml & xmlItem
end if
end repeat
set xml to xml & "</items>"
return xml