Browse Source

Merge 69b89ae275 into 7ff68163d1

pull/35/merge
Balló György 4 months ago
committed by GitHub
parent
commit
58c451f827
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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