From a8b17675018deed32fdff224c88a523333fed117 Mon Sep 17 00:00:00 2001 From: black-desk Date: Tue, 27 Aug 2024 13:26:53 +0800 Subject: [PATCH] chore: update example config Signed-off-by: black-desk --- misc/config/example.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/misc/config/example.yaml b/misc/config/example.yaml index a7829f5..109a569 100644 --- a/misc/config/example.yaml +++ b/misc/config/example.yaml @@ -90,11 +90,18 @@ rules: # Application related rules: # To make these rules working across desktop environments, # please take a look on https://systemd.io/DESKTOP_ENVIRONMENTS/. + # NOTE: + # | Desktop Environment | Launcher | + # |---------------------|-----------| + # | GNOME | `"gnome"` | + # | dde | `"DDE"` | + # | KDE | none | + # So we should use `(?:-(?:gnome|DDE))?` to match `-` # https://parsec.app/ # `parsec` should always connect to network directly. - match: |- - \/user\.slice\/user-\d+\.slice\/user@\d+\.service\/app\.slice\/app(?:-gnome)?-parsecd-\d+\.(?:service|scope) + \/user\.slice\/user-\d+\.slice\/user@\d+\.service\/app\.slice\/app(?:-(?:gnome|DDE))?-parsecd-\d+\.(?:service|scope) direct: true # For any cgroup else, TPROXY to clash-meta.