mirror of https://gitlab.com/bashrc2/epicyon
Spacing between notification icons
parent
aa7771f58f
commit
f3d52442ab
|
@ -411,18 +411,18 @@ def _showLocalBox(notifyJson: {}, boxName: str,
|
||||||
notificationIcons = ''
|
notificationIcons = ''
|
||||||
if notifyJson:
|
if notifyJson:
|
||||||
if notifyJson.get('followRequests'):
|
if notifyJson.get('followRequests'):
|
||||||
notificationIcons += '👤'
|
notificationIcons += ' 👤'
|
||||||
if notifyJson.get('dm'):
|
if notifyJson.get('dm'):
|
||||||
notificationIcons += '📩'
|
notificationIcons += ' 📩'
|
||||||
if notifyJson.get('reply'):
|
if notifyJson.get('reply'):
|
||||||
notificationIcons += '📨'
|
notificationIcons += ' 📨'
|
||||||
if notifyJson.get('calendar'):
|
if notifyJson.get('calendar'):
|
||||||
notificationIcons += '📅'
|
notificationIcons += ' 📅'
|
||||||
if notifyJson.get('share'):
|
if notifyJson.get('share'):
|
||||||
notificationIcons += '🤝'
|
notificationIcons += ' 🤝'
|
||||||
if notifyJson.get('likedBy'):
|
if notifyJson.get('likedBy'):
|
||||||
if '##sent##' not in notifyJson['likedBy']:
|
if '##sent##' not in notifyJson['likedBy']:
|
||||||
notificationIcons += '❤'
|
notificationIcons += ' ❤'
|
||||||
titleStr = boxName.upper()
|
titleStr = boxName.upper()
|
||||||
if notificationIcons:
|
if notificationIcons:
|
||||||
while len(titleStr) < 89 - len(notificationIcons):
|
while len(titleStr) < 89 - len(notificationIcons):
|
||||||
|
|
Loading…
Reference in New Issue