manually set app_id
This commit is contained in:
parent
c725c4fdb6
commit
e8f36057f4
2 changed files with 5 additions and 3 deletions
1
main.cpp
1
main.cpp
|
@ -19,6 +19,7 @@ int main(int argc, char *argv[])
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
QCoreApplication::setOrganizationName("Grimmauld");
|
QCoreApplication::setOrganizationName("Grimmauld");
|
||||||
QCoreApplication::setApplicationName("SwayMux");
|
QCoreApplication::setApplicationName("SwayMux");
|
||||||
|
QGuiApplication::setDesktopFileName("swaymux");
|
||||||
|
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
w.showMaximized();
|
w.showMaximized();
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
qt6,
|
qt6,
|
||||||
qtbase,
|
qtbase,
|
||||||
qtwayland,
|
qtwayland,
|
||||||
stdenv
|
stdenv,
|
||||||
|
wrapQtAppsHook
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "swaymux";
|
pname = "swaymux";
|
||||||
|
@ -26,9 +27,9 @@ stdenv.mkDerivation {
|
||||||
mv swaymux $out/bin
|
mv swaymux $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontWrapQtApps = true;
|
# dontWrapQtApps = true;
|
||||||
buildInputs = [ qt6.qtwayland cmake nlohmann_json qtbase];
|
buildInputs = [ qt6.qtwayland cmake nlohmann_json qtbase];
|
||||||
nativeBuildInputs = [ ];
|
nativeBuildInputs = [ qt6.wrapQtAppsHook ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue