persitent cache for image download

This commit is contained in:
2026-02-01 12:06:48 +01:00
parent dc325834c7
commit 17aef717b7
5 changed files with 166 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
#include <vector>
#include "services/dbus/notification.hpp"
#include "services/dbus/mpris.hpp"
#include "services/textureCache.hpp"
App::App() {
this->app = Gtk::Application::create("org.example.mybar");
@@ -43,6 +44,7 @@ App::App() {
}
void App::setupServices() {
TextureCacheService::getInstance()->pruneCache();
this->trayService->start();
}