# vim:syntax=apparmor # ------------------------------------------------------------------ # # Copyright (C) 2020-2021 Mikhail Morfikov # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License published by the Free Software Foundation. # # ------------------------------------------------------------------ abi , include @{exec_path} = /{usr/,}bin/jgmenu{,_run} profile jgmenu @{exec_path} { include include include include include include include include include @{exec_path} mrix, /{usr/,}bin/{,ba,da}sh rix, /{usr/,}bin/zsh rix, /{usr/,}bin/mkdir rix, /{usr/,}bin/find rix, /{usr/,}bin/wc rix, /{usr/,}bin/cat rix, /{usr/,}lib/jgmenu/jgmenu-* rix, owner @{HOME}/ r, owner @{HOME}/.jgmenu-lockfile rwk, owner @{HOME}/.config/tint2/* r, owner @{HOME}/.config/jgmenu/ rw, owner @{HOME}/.config/jgmenu/** rw, owner @{HOME}/.cache/ rw, owner @{HOME}/.cache/jgmenu/ rw, owner @{HOME}/.cache/jgmenu/** rw, owner @{HOME}/.Xauthority r, owner @{PROC}/@{pid}/loginuid r, # For zsh shell /etc/zsh/zshenv r, # For missing apps icon and desktop files /usr/share/**.png r, /usr/share/**.desktop r, # file_inherit owner /dev/tty[0-9]* rw, include if exists }