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);
|
||||
QCoreApplication::setOrganizationName("Grimmauld");
|
||||
QCoreApplication::setApplicationName("SwayMux");
|
||||
QGuiApplication::setDesktopFileName("swaymux");
|
||||
|
||||
MainWindow w;
|
||||
w.showMaximized();
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
qt6,
|
||||
qtbase,
|
||||
qtwayland,
|
||||
stdenv
|
||||
stdenv,
|
||||
wrapQtAppsHook
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "swaymux";
|
||||
|
@ -26,9 +27,9 @@ stdenv.mkDerivation {
|
|||
mv swaymux $out/bin
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
# dontWrapQtApps = true;
|
||||
buildInputs = [ qt6.qtwayland cmake nlohmann_json qtbase];
|
||||
nativeBuildInputs = [ ];
|
||||
nativeBuildInputs = [ qt6.wrapQtAppsHook ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue