Skip to content

Commit a8b1767

Browse files
committed
chore: update example config
Signed-off-by: black-desk <me@black-desk.cn>
1 parent 668376d commit a8b1767

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

misc/config/example.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,18 @@ rules:
9090
# Application related rules:
9191
# To make these rules working across desktop environments,
9292
# please take a look on https://systemd.io/DESKTOP_ENVIRONMENTS/.
93+
# NOTE:
94+
# | Desktop Environment | Launcher |
95+
# |---------------------|-----------|
96+
# | GNOME | `"gnome"` |
97+
# | dde | `"DDE"` |
98+
# | KDE | none |
99+
# So we should use `(?:-(?:gnome|DDE))?` to match `-<launcher>`
93100

94101
# https://parsec.app/
95102
# `parsec` should always connect to network directly.
96103
- match: |-
97-
\/user\.slice\/user-\d+\.slice\/user@\d+\.service\/app\.slice\/app(?:-gnome)?-parsecd-\d+\.(?:service|scope)
104+
\/user\.slice\/user-\d+\.slice\/user@\d+\.service\/app\.slice\/app(?:-(?:gnome|DDE))?-parsecd-\d+\.(?:service|scope)
98105
direct: true
99106
100107
# For any cgroup else, TPROXY to clash-meta.

0 commit comments

Comments
 (0)