1
0
mirror of https://github.com/gryf/urxvt-wrapper.git synced 2025-12-17 19:40:25 +01:00

Fix empty icon detection.

This commit is contained in:
2021-02-20 19:41:19 +01:00
parent 035a01bef8
commit a59072ae82

View File

@@ -313,7 +313,7 @@ class Urxvt:
bold = ','.join([f.bold for f in self.fonts if f.bold])
if bold:
args.extend(['-fb', bold])
if os.path.exists(os.path.join(ICON_PATH, self.icon)):
if self.icon and os.path.exists(os.path.join(ICON_PATH, self.icon)):
args.extend(['-icon', os.path.join(ICON_PATH, self.icon)])
if self._exec: