Skip to content

Commit

Permalink
core: move to hyprland-qt-support instead of KDE's qqc2
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jan 8, 2025
1 parent 6cc1cf5 commit 196e043
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This repo houses some qt/qml utilities that might be used by various hypr* apps.

## Dependencies

This depends on qt6 and qt6-qml, as well as qqc2-desktop-style from KDE.
This depends on qt6 and qt6-qml, as well as hyprland-qt-support.
2 changes: 1 addition & 1 deletion utils/dialog/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ int main(int argc, char* argv[]) {
app.setApplicationName(appTitle.isEmpty() ? dialog->title : appTitle);

if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE"))
QQuickStyle::setStyle("org.kde.desktop");
QQuickStyle::setStyle("org.hyprland.style");

QQmlApplicationEngine engine;
engine.rootContext()->setContextProperty("dialog", dialog);
Expand Down
2 changes: 1 addition & 1 deletion utils/donate-screen/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int main(int argc, char* argv[]) {
app.setApplicationDisplayName("Support Hyprland");

if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE"))
QQuickStyle::setStyle("org.kde.desktop");
QQuickStyle::setStyle("org.hyprland.style");

QQmlApplicationEngine engine;
engine.rootContext()->setContextProperty("donateScreen", dialog);
Expand Down
2 changes: 1 addition & 1 deletion utils/update-screen/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int argc, char* argv[]) {
app.setApplicationDisplayName("Hyprland Updated");

if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE"))
QQuickStyle::setStyle("org.kde.desktop");
QQuickStyle::setStyle("org.hyprland.style");

// This entire mechanism fucking sucks,
// but I also suck at qml and I want to avoid spawning a new process as it takes a while.
Expand Down

0 comments on commit 196e043

Please sign in to comment.