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.

envision/debug: Collect more container info

Signed-off-by: Shiloh Fen <shiloh@shilohfen.com>

+3 -4
+3 -4
src/atomic-xr/_debug.nu
··· 16 16 let flatpak_installed = flatpak list --columns application | lines 17 17 18 18 { 19 - debug_version: 1 19 + debug_version: 2 20 20 sys: { 21 21 host: (sys host) 22 22 cpu: (sys cpu) ··· 38 38 installed: (which distrobox | is-not-empty) 39 39 } 40 40 envision: { 41 - container_exists: (try { 42 - (distrobox ls --no-color 41 + container: (try { 42 + distrobox ls --no-color 43 43 | parse -r '(?P<id>.*)\s\|\s(?P<name>.*)\s\|\s(?P<status>.*)\s\|\s(?P<image>.*)' 44 44 | str trim 45 45 | skip 1 46 46 | where name == envision 47 - | length) == 1 48 47 }) 49 48 bin_exists: ("~/.local/bin/envision" | path exists) 50 49 devel_desktop_exists: ("~/.local/share/applications/org.gabmus.envision.Devel.desktop" | path exists)