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:
parent
ae0842532e
commit
8327f837a0
|
@ -382,6 +382,7 @@ $exec =~ s/%c/$name/g;
|
||||||
# XXX: Icons are not implemented. Is the complexity (looking up the path if
|
# XXX: Icons are not implemented. Is the complexity (looking up the path if
|
||||||
# only a name is given) actually worth it?
|
# only a name is given) actually worth it?
|
||||||
#$exec =~ s/%i/--icon $icon/g;
|
#$exec =~ s/%i/--icon $icon/g;
|
||||||
|
$exec =~ s/%i//g;
|
||||||
|
|
||||||
# location of .desktop file
|
# location of .desktop file
|
||||||
$exec =~ s/%k/$location/g;
|
$exec =~ s/%k/$location/g;
|
||||||
|
|
Loading…
Reference in New Issue