diff --git a/utils/update-screen/CMakeLists.txt b/utils/update-screen/CMakeLists.txt index 17d2096..a70edca 100644 --- a/utils/update-screen/CMakeLists.txt +++ b/utils/update-screen/CMakeLists.txt @@ -25,6 +25,12 @@ qt_add_qml_module(hyprland-update-screen QML_FILES main.qml dialogMain.qml ) +qt_add_resources(hyprland-update-screen "assets" + PREFIX "/" + FILES + assets/heart.svg +) + target_link_libraries(hyprland-update-screen PRIVATE Qt6::Widgets Qt6::QuickControls2 Qt6::WaylandClientPrivate PkgConfig::hyprutils ) diff --git a/utils/update-screen/assets/heart.svg b/utils/update-screen/assets/heart.svg new file mode 100644 index 0000000..6e9de17 --- /dev/null +++ b/utils/update-screen/assets/heart.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/utils/update-screen/main.qml b/utils/update-screen/main.qml index bc97e9a..d794438 100644 --- a/utils/update-screen/main.qml +++ b/utils/update-screen/main.qml @@ -80,6 +80,10 @@ ApplicationWindow { Layout.alignment: Qt.AlignRight Button { + icon.color: "transparent" + icon.source: "qrc:/assets/heart.svg" + icon.height: 18 + icon.width: 18 text: "Support the project" onClicked: (e) => { updateScreen.onButtonPress("donate");