mirror of
https://github.com/gryf/urxvt-wrapper.git
synced 2025-12-17 11:30:21 +01:00
Fix empty icon detection.
This commit is contained in:
2
urxvt.py
2
urxvt.py
@@ -313,7 +313,7 @@ class Urxvt:
|
|||||||
bold = ','.join([f.bold for f in self.fonts if f.bold])
|
bold = ','.join([f.bold for f in self.fonts if f.bold])
|
||||||
if bold:
|
if bold:
|
||||||
args.extend(['-fb', 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)])
|
args.extend(['-icon', os.path.join(ICON_PATH, self.icon)])
|
||||||
|
|
||||||
if self._exec:
|
if self._exec:
|
||||||
|
|||||||
Reference in New Issue
Block a user