def removeNotification(ident):
global notifications
print()
print("Removing notification", ident)
notifications[ident].destroy()
notifications.pop(ident)
# this is the jankiest fucking thing I've ever made but it does work
nf = notifications.copy()
notifications = {}
for notification in nf:
width, height = nf[notification].get_size()
x, y = getNotificationLocation()
nf[notification].move(x - width, y - height)
notifications[notification] = nf[notification]