diff --git a/hosts/monolith/configuration.nix b/hosts/monolith/configuration.nix index da88aef..00ba959 100644 --- a/hosts/monolith/configuration.nix +++ b/hosts/monolith/configuration.nix @@ -74,6 +74,11 @@ postInstall = (prev.postInstall or "") + '' + mv $out/share/applications/davinci-resolve.desktop \ + $out/share/applications/davinci-resolve.desktop.bak + cat $out/share/applications/davinci-resolve.desktop.bak \ + > $out/share/applications/davinci-resolve.desktop + rm $out/share/applications/davinci-resolve.desktop.bak sed -i 's|^Exec=.*|Exec=qdbus org.kde.kded6 /kded org.kde.kded6.unloadModule "appmenu" \&\& davinci-resolve \& sleep 20 \&\& qdbus org.kde.kded6 /kded org.kde.kded6.loadModule "appmenu"|' \ $out/share/applications/davinci-resolve.desktop '';