状态栏绘制添加图标和色彩设置

This commit is contained in:
2025-09-01 00:56:45 +08:00
parent 1b0ed3b9b8
commit 91950dc2f4
14 changed files with 244 additions and 29 deletions

View File

@@ -45,6 +45,14 @@ pkg_check_modules(PULSE REQUIRED libpulse-mainloop-glib)
add_subdirectory(xcb)
add_subdirectory(renderer)
# status icons(all from https://remixicon.com/)
set(NET_UP_ICON "${SOURCE_DIR}/resources/icons/corner-right-up-line.png")
set(NET_DOWN_ICON "${SOURCE_DIR}/resources/icons/corner-left-down-line.png")
set(SPEAKER_ICON "${SOURCE_DIR}/resources/icons/volume-up-fill.png")
set(MEM_ICON "${SOURCE_DIR}/resources/icons/ram-line.png")
set(CPU_ICON "${SOURCE_DIR}/resources/icons/cpu-line.png")
set(CLOCK_ICON "${SOURCE_DIR}/resources/icons/time-line.png")
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/app.h.in"
"${CMAKE_BINARY_DIR}/app.h"