i3-dmenu-desktop: remove %i from commandline

We don’t currently support the icon argument, but entirely not handling
%i leads to e.g. “digikam” not starting.
This commit is contained in:
Michael Stapelberg 2013-03-03 21:27:56 +01:00
parent ae0842532e
commit 8327f837a0

View File

@ -382,6 +382,7 @@ $exec =~ s/%c/$name/g;
# XXX: Icons are not implemented. Is the complexity (looking up the path if
# only a name is given) actually worth it?
#$exec =~ s/%i/--icon $icon/g;
$exec =~ s/%i//g;
# location of .desktop file
$exec =~ s/%k/$location/g;