Commit graph

13 commits

Author SHA1 Message Date
Eduardo Flores
b2ce4ccea2 fix: add cfg for unix only packages 2024-12-26 15:31:54 +01:00
Jeremy Soller
9c62f19e4b Make use of systemd scopes optional 2024-10-16 16:10:37 -06:00
Victoria Brekenfeld
c9f8f48537 Revert "fix: new matching algorithm for desktop entries"
This reverts commit 9519b86ec9.
2024-08-13 09:12:50 -06:00
Ian Douglas Scott
82fb781746 Use tokio to asynchronously read from pipe
Avoids either `spawn_blocking`, or potentially blocking call in an async
function (though it shouldn't block for long).
2024-07-26 12:01:40 -07:00
Ian Douglas Scott
621de17cad Call systemd StartTransientUnit what starting app
This is needed for things like `xdg-desktop-portal` to get the app ID
from a pid, in unsandboxed apps.

https://systemd.io/DESKTOP_ENVIRONMENTS documents this, and this sets
things similarly to how Gnome does. Which should be good for now.

Making `spawn_desktop_exec` an `async` function is reasonable given it
is called in `async` functions in
`cosmic-app-list`/`cosmic-launcher`/`cosmic-applibrary`.
2024-07-26 12:01:40 -07:00
wiiznokes
9519b86ec9
fix: new matching algorithm for desktop entries 2024-05-31 05:05:36 +02:00
Ryan Brue
64ecb0ea48 feat: add public function to determine app id matches 2024-03-12 01:36:22 -04:00
Ashley Wulber
6754aeb0dc fix: allow filtering out desktop entries with NoDisplay=true 2024-03-11 17:20:33 -04:00
Ashley Wulber
6f6eeec0e7 fix: de fallback name check 2024-03-11 10:51:22 -04:00
Ryan Brue
cbda93a514 fix: lowercase startup_wm_class, name fallbacks 2024-03-11 10:24:26 -04:00
Jeremy Soller
be00b0ec4b fix(desktop): split categories by semi-colon terminator 2024-03-04 09:15:09 -07:00
Jeremy Soller
0a7327c91a
Add mime types to desktop entry data 2024-03-01 11:53:26 -07:00
Victoria Brekenfeld
bf0508816b libcosmic: Add desktop-file helpers 2024-01-31 15:10:32 +01:00