feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2022-06-03 20:13:11 +01:00
parent 8142ad657d
commit c32b19a808
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
40 changed files with 218 additions and 196 deletions

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{libexec}/switcheroo-control
profile switcheroo-control @{exec_path} {
profile switcheroo-control @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
capability sys_nice,
@ -18,6 +18,8 @@ profile switcheroo-control @{exec_path} {
@{run}/udev/data/+drm:* r,
@{run}/udev/data/c226:[0-9]* r, # for /dev/dri/card*
@{sys}/bus/ r,
@{sys}/class/ r,
@{sys}/class/drm/ r,