2021-04-01 17:17:47 +02:00
|
|
|
# apparmor.d - Full set of apparmor profiles
|
|
|
|
# Copyright (C) 2017-2021 Mikhail Morfikov
|
2024-02-07 00:16:21 +01:00
|
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
2021-04-01 17:17:47 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
abi <abi/3.0>,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
include <tunables/global>
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2023-07-09 15:23:22 +02:00
|
|
|
@{exec_path} = @{bin}/compton
|
2020-09-12 17:19:23 +02:00
|
|
|
profile compton @{exec_path} {
|
2020-12-10 22:33:39 +01:00
|
|
|
include <abstractions/base>
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
@{exec_path} mr,
|
|
|
|
|
|
|
|
# Compton config file
|
2021-04-01 18:21:33 +02:00
|
|
|
owner @{user_config_dirs}/compton.conf rw,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
/usr/share/X11/XErrorDB r,
|
|
|
|
owner @{HOME}/.Xauthority r,
|
|
|
|
|
|
|
|
# file_inherit
|
2023-08-18 18:09:53 +02:00
|
|
|
owner /dev/tty@{int} rw,
|
2020-09-12 17:19:23 +02:00
|
|
|
owner @{HOME}/.xsession-errors w,
|
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
include if exists <local/compton>
|
2020-09-12 17:19:23 +02:00
|
|
|
}
|