diff --git a/apparmor.d/profiles-s-z/waybar b/apparmor.d/profiles-s-z/waybar index 8da427a6..12794508 100644 --- a/apparmor.d/profiles-s-z/waybar +++ b/apparmor.d/profiles-s-z/waybar @@ -10,6 +10,7 @@ include @{exec_path} = @{bin}/waybar profile waybar @{exec_path} flags=(attach_disconnected) { include + include include include include @@ -21,11 +22,15 @@ profile waybar @{exec_path} flags=(attach_disconnected) { @{exec_path} mr, - @{bin}/** rPUx, - @{user_bin_dirs}/** rPUx, - owner @{user_config_dirs}/waybar/{,**} r, + @{sys}/devices/virtual/dmi/id/bios_vendor r, + @{sys}/devices/virtual/dmi/id/board_vendor r, + @{sys}/devices/virtual/dmi/id/product_name r, + @{sys}/devices/virtual/dmi/id/sys_vendor r, + + owner @{PROC}/@{pid}/task/@{tid}/comm rw, + owner /dev/tty@{int} rw, include if exists