XR for Universal Blue and Fedora Atomic Desktops
vr fedora-atomic linux
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add permisssions for WiVRn flatpak user installation

+18 -2
+18 -2
src/atomic-xr/flatpak.nu
··· 3 3 4 4 use std log 5 5 6 + const xr_permissions = { 7 + filesystem: [ 8 + "xdg-data/envision:ro" 9 + "xdg-run/monado_comp_ipc" 10 + "/var/lib/flatpak/app/io.github.wivrn.wivrn:ro" 11 + "~/.var/app/io.github.wivrn.wivrn:ro" 12 + "xdg-run/wivrn" 13 + "xdg-config/openxr:ro" 14 + "xdg-config/openvr:ro" 15 + ] 16 + } 17 + 6 18 def "permissions allow" [appid: string] { 7 - flatpak override --user --filesystem="xdg-data/envision:ro" --filesystem="xdg-run/monado_comp_ipc" --filesystem="/var/lib/flatpak/app/io.github.wivrn.wivrn:ro" --filesystem="xdg-run/wivrn" --filesystem="xdg-config/openxr:ro" --filesystem="xdg-config/openvr:ro" $appid 19 + flatpak override --user ...( 20 + $"--filesystem={($xr_permissions.filesystem | str join ',')}" | str expand 21 + ) $appid 8 22 } 9 23 10 24 def "permissions revoke" [appid: string] { 11 - flatpak override --user --nofilesystem="xdg-data/envision" --nofilesystem="xdg-run/monado_comp_ipc" --nofilesystem="/var/lib/flatpak/app/io.github.wivrn.wivrn" --nofilesystem="xdg-run/wivrn" --nofilesystem="xdg-config/openxr" --nofilesystem="xdg-config/openvr" $appid 25 + flatpak override --user ...( 26 + $"--nofilesystem={($xr_permissions.filesystem | str join ',')}" | str expand 27 + ) $appid 12 28 } 13 29 14 30 export module steam {