* Replace @{HOME}/.config with @{user_config_dirs}
* Replace @{HOME}/.cache with @{user_cache_dirs}
* Replace @{HOME}/.local/state with @{user_state_dirs}
* Add missing user_share_dirs to apparmor.d/tunables/home.d/apparmor.d
* Update docs/variables.md
* Replace @{HOME}/.local/share with @{user_share_dirs}
* Replace @{HOME}/.local/lib with @{user_lib_dirs}
* Revert "Add missing user_share_dirs to apparmor.d/tunables/home.d/apparmor.d"
This reverts commit 9525003098.
This commit is contained in:
parent
fe0238250a
commit
0f9b7cb474
26 changed files with 75 additions and 73 deletions
|
|
@ -8,9 +8,9 @@ include <tunables/global>
|
|||
|
||||
@{DISCORD_LIBDIR} = /usr/share/discord
|
||||
@{DISCORD_LIBDIR} += /usr/share/discord-ptb /opt/discord
|
||||
@{DISCORD_HOMEDIR} = @{HOME}/.config/discord
|
||||
@{DISCORD_HOMEDIR} += @{HOME}/.config/discordptb
|
||||
@{DISCORD_CACHEDIR} = @{HOME}/.cache/discord
|
||||
@{DISCORD_HOMEDIR} = @{user_config_dirs}/discord
|
||||
@{DISCORD_HOMEDIR} += @{user_config_dirs}/discordptb
|
||||
@{DISCORD_CACHEDIR} = @{user_cache_dirs}/discord
|
||||
|
||||
@{exec_path} = @{DISCORD_LIBDIR}/Discord{,PTB} @{bin}/discord{,-ptb}
|
||||
profile discord @{exec_path} {
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ profile telegram-desktop @{exec_path} {
|
|||
|
||||
/usr/share/hwdata/pnp.ids r,
|
||||
|
||||
owner @{HOME}/.config/qt5ct/{,**} r,
|
||||
owner @{user_config_dirs}/qt5ct/{,**} r,
|
||||
/usr/share/qt5ct/** r,
|
||||
|
||||
# Allowed apps to open
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue