mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(tunable): clarify the naming scheme for programs name.
This commit is contained in:
parent
ee3322c463
commit
4289965cb8
2 changed files with 20 additions and 16 deletions
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
# Emails
|
# Emails
|
||||||
@{thunderbird_path} = @{bin}/@{thunderbird_name} @{thunderbird_lib_dirs}/@{thunderbird_name}
|
@{thunderbird_path} = @{bin}/@{thunderbird_name} @{thunderbird_lib_dirs}/@{thunderbird_name}
|
||||||
@{emails_path} = @{thunderbird_path} @{bin}/@{emails}
|
@{emails_path} = @{thunderbird_path} @{bin}/@{emails_names}
|
||||||
|
|
||||||
# Open
|
# Open
|
||||||
@{open_path} = @{bin}/exo-open @{bin}/xdg-open @{bin}/gio
|
@{open_path} = @{bin}/exo-open @{bin}/xdg-open @{bin}/gio
|
||||||
|
@ -36,24 +36,24 @@
|
||||||
@{open_path} += @{lib}/@{multiarch}/glib-[0-9]*/gio-launch-desktop
|
@{open_path} += @{lib}/@{multiarch}/glib-[0-9]*/gio-launch-desktop
|
||||||
|
|
||||||
# File explorers
|
# File explorers
|
||||||
@{file_explorers_path} = @{bin}/@{file_explorers}
|
@{file_explorers_path} = @{bin}/@{file_explorers_names}
|
||||||
|
|
||||||
# Text editors
|
# Text editors
|
||||||
@{text_editors_path} = @{bin}/@{text_editors} /usr/share/code/{bin/,}code
|
@{text_editors_path} = @{bin}/@{text_editors_names} /usr/share/code/{bin/,}code
|
||||||
|
|
||||||
# Document viewers
|
# Document viewers
|
||||||
@{document_viewers_path} = @{bin}/@{document_viewers}
|
@{document_viewers_path} = @{bin}/@{document_viewers_names}
|
||||||
|
|
||||||
# Image viewers
|
# Image viewers
|
||||||
@{image_viewers_path} = @{bin}/@{image_viewers}
|
@{image_viewers_path} = @{bin}/@{image_viewers_names}
|
||||||
|
|
||||||
# Archive viewers
|
# Archive viewers
|
||||||
@{archive_viewers_path} = @{bin}/@{archive_viewers}
|
@{archive_viewers_path} = @{bin}/@{archive_viewers_names}
|
||||||
|
|
||||||
# Office suites
|
# Office suites
|
||||||
@{offices_path} = @{bin}/@{offices} @{lib}/libreoffice/program/soffice
|
@{offices_path} = @{bin}/@{offices_names} @{lib}/libreoffice/program/soffice
|
||||||
|
|
||||||
# Help
|
# Help
|
||||||
@{help_path} = @{bin}/@{help}
|
@{help_path} = @{bin}/@{help_names}
|
||||||
|
|
||||||
# vim:syntax=apparmor
|
# vim:syntax=apparmor
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
# Define some some commonly used programs. This is not an exhaustive list.
|
# Define some some commonly used programs. This is not an exhaustive list.
|
||||||
# It is meant to label programs to easily provide access in profiles.
|
# It is meant to label programs to easily provide access in profiles.
|
||||||
|
|
||||||
|
# All variables that refer to a program name should have the `_name` suffix.
|
||||||
|
# variables that refer to a list of progran should have the `_names` suffix.
|
||||||
|
# @{sh}, @{shells}, and @{coreutils} are the only exceptions.
|
||||||
|
|
||||||
# Default distribution shells
|
# Default distribution shells
|
||||||
@{sh} = sh bash dash
|
@{sh} = sh bash dash
|
||||||
|
|
||||||
|
@ -49,27 +53,27 @@
|
||||||
@{thunderbird_name} = thunderbird{,.sh,-bin}
|
@{thunderbird_name} = thunderbird{,.sh,-bin}
|
||||||
@{thunderbird_lib_dirs} = @{lib}/@{thunderbird_name}
|
@{thunderbird_lib_dirs} = @{lib}/@{thunderbird_name}
|
||||||
|
|
||||||
@{emails} = evolution geary
|
@{emails_names} = evolution geary
|
||||||
|
|
||||||
# File explorers
|
# File explorers
|
||||||
@{file_explorers} = dolphin nautilus thunar
|
@{file_explorers_names} = dolphin nautilus thunar
|
||||||
|
|
||||||
# Text editors
|
# Text editors
|
||||||
@{text_editors} = code gedit mousepad gnome-text-editor
|
@{text_editors_names} = code gedit mousepad gnome-text-editor
|
||||||
|
|
||||||
# Document viewers
|
# Document viewers
|
||||||
@{document_viewers} = evince okular *{F,f}oliate YACReader
|
@{document_viewers_names} = evince okular *{F,f}oliate YACReader
|
||||||
|
|
||||||
# Image viewers
|
# Image viewers
|
||||||
@{image_viewers} = eog loupe ristretto
|
@{image_viewers_names} = eog loupe ristretto
|
||||||
|
|
||||||
# Archive viewers
|
# Archive viewers
|
||||||
@{archive_viewers} = engrampa file-roller xarchiver
|
@{archive_viewers_names} = engrampa file-roller xarchiver
|
||||||
|
|
||||||
# Office suites
|
# Office suites
|
||||||
@{offices} = libreoffice soffice
|
@{offices_names} = libreoffice soffice
|
||||||
|
|
||||||
# Help
|
# Help
|
||||||
@{help} = yelp
|
@{help_names} = yelp
|
||||||
|
|
||||||
# vim:syntax=apparmor
|
# vim:syntax=apparmor
|
||||||
|
|
Loading…
Reference in a new issue