feat(abs): add the pager app abstaction.

This commit is contained in:
Alexandre Pujol 2025-05-18 23:21:23 +02:00
parent 2c880ba220
commit f033e69811
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 41 additions and 74 deletions

View file

@ -115,19 +115,7 @@ profile mutt @{exec_path} {
profile pager {
include <abstractions/base>
include <abstractions/consoles>
@{pager_path} mr,
/usr/share/terminfo/** r,
/usr/share/file/misc/magic.mgc r,
owner @{HOME}/ r,
owner @{HOME}/.lesshs* rw,
owner @{HOME}/.terminfo/@{int}/* r,
owner @{user_cache_dirs}/lesshs* rw,
owner @{user_state_dirs}/ r,
owner @{user_state_dirs}/lesshs* rw,
include <abstractions/app/pager>
# This is the file that holds the message
owner /{var/,}tmp/mutt* rw,