i3-notifier icon indicating copy to clipboard operation
i3-notifier copied to clipboard

Feature Request: Hot Reload Themes

Open oldwomanjosiah opened this issue 3 years ago • 1 comments

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

oldwomanjosiah avatar May 01 '21 03:05 oldwomanjosiah

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

sencer avatar Jun 26 '21 19:06 sencer