Skip to content

Commit

Permalink
chore: update example config
Browse files Browse the repository at this point in the history
Signed-off-by: black-desk <[email protected]>
  • Loading branch information
black-desk committed Aug 30, 2024
1 parent 668376d commit a8b1767
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion misc/config/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 `-<launcher>`

# 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.
Expand Down

0 comments on commit a8b1767

Please sign in to comment.