Browse Source

Fix PekWM exec

PekWM passes the & (and) character to the process, adding it to the end of
the Exec parameter is not needed.
pull/35/head
Balló György 4 months ago
parent
commit
69b89ae275
  1. 4
      src/xdgmenumaker

4
src/xdgmenumaker

@ -736,11 +736,11 @@ def pekwmmenu():
# path does not exist
command = 'cd {p} && {c} || {c}'.format(p=path, c=command)
if xopts['seticon'] and icon is not None:
print('{d}{s} Entry = "{n}" {{ Icon = "{i}"; Actions = "Exec {c} &" }}'
print('{d}{s} Entry = "{n}" {{ Icon = "{i}"; Actions = "Exec {c}" }}'
.format(d=dspacing, s=spacing, n=name, i=icon,
c=command))
else:
print('{d}{s} Entry = "{n}" {{ Actions = "Exec {c} &" }}'
print('{d}{s} Entry = "{n}" {{ Actions = "Exec {c}" }}'
.format(d=dspacing, s=spacing, n=name, c=command))
print('{d}{s}}}'.format(d=dspacing, s=spacing))
if xopts['submenu']:

Loading…
Cancel
Save