viewing DjVu and PostScript files (#78)

This commit is contained in:
beroal 2022-09-24 14:13:21 +03:00 committed by GitHub
parent 0667c43be6
commit fcee586e9e
Failed to generate hash of commit

View file

@ -24,12 +24,15 @@ profile evince @{exec_path} {
/{usr/,}bin/{,ba,da}sh rix, /{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/gio-launch-desktop rPx, /{usr/,}bin/gio-launch-desktop rPx,
/usr/share/djvu/{,**} r,
/usr/share/evince/{,**} r, /usr/share/evince/{,**} r,
/usr/share/ghostscript/{,**} r,
/usr/share/poppler/{,**} r, /usr/share/poppler/{,**} r,
/usr/share/thumbnailers/{,*} r, /usr/share/thumbnailers/{,*} r,
/usr/share/themes/{,**} r, /usr/share/themes/{,**} r,
owner @{user_share_dirs}/ r, owner @{user_share_dirs}/ r,
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
owner @{user_cache_dirs}/thumbnails/{,**} rw, owner @{user_cache_dirs}/thumbnails/{,**} rw,
owner @{user_config_dirs}/evince/{,*} rw, owner @{user_config_dirs}/evince/{,*} rw,
@ -42,5 +45,7 @@ profile evince @{exec_path} {
/dev/tty rw, /dev/tty rw,
deny /{usr/,}lib/ r, # asks when viewing PostScript files
include if exists <local/evince> include if exists <local/evince>
} }