File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,18 @@ rules:
90
90
# Application related rules:
91
91
# To make these rules working across desktop environments,
92
92
# 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>`
93
100
94
101
# https://parsec.app/
95
102
# `parsec` should always connect to network directly.
96
103
- 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)
98
105
direct: true
99
106
100
107
# For any cgroup else, TPROXY to clash-meta.
You can’t perform that action at this time.
0 commit comments