i3-notifier
i3-notifier copied to clipboard
Feature Request: Hot Reload Themes
It would be really useful when testing different themes if the script would hot reload the working themes. As mentioned in #4 I have found a workaround, but it would be nicer since that seems to wipe out the saved notifications. It could even be hidden behind a cli flag in the case that it affected performance too much
Hi,
Sorry I haven't seen this. You can save the notifications with this:
dbus-send --session --print-reply=literal --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.DumpNotifications
So just running this should do what you are asking:
dbus-send --session --print-reply=literal --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.DumpNotifications
pkill -9 i3-notifier
i3-notifier