--- a/kitty/desktop.c +++ b/kitty/desktop.c @@ -30,7 +30,7 @@ static PyObject* init_x11_startup_notification(PyObject UNUSED *self, PyObject *args) { static bool done = false; - static const char* libname = "libstartup-notification-1.so"; + static const char* libname = "@libstartup_notification@"; if (!done) { done = true;