close one notification to close all

This commit is contained in:
2026-02-02 21:46:50 +01:00
parent 49ac6cec90
commit ed1a9a8605
21 changed files with 352 additions and 146 deletions

View File

@@ -41,7 +41,7 @@ target_sources(bar_lib
src/widgets/clock.cpp
src/widgets/date.cpp
src/widgets/notification/baseNotification.cpp
src/widgets/notification/notification.cpp
src/widgets/notification/notificationWindow.cpp
src/widgets/notification/spotifyNotification.cpp
src/widgets/volumeWidget.cpp
src/widgets/webWidget.cpp
@@ -69,7 +69,13 @@ add_executable(bar main.cpp)
target_link_libraries(bar bar_lib ${GTKMM_LIBRARIES} ${LAYERSHELL_LIBRARIES} ${WEBKIT_LIBRARIES} ${CURL_LIBRARIES} nlohmann_json::nlohmann_json)
# ---- Tests (Catch2) ----
# add spdlog
find_package(spdlog REQUIRED)
target_link_libraries(bar_lib PRIVATE spdlog::spdlog)
# ---- Testing shit
find_package(Catch2 3 REQUIRED)
add_executable(bar_tests