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.

always use library from install prefix

+3 -3
+1 -1
install.nu
··· 15 15 log debug $"Install prefix: ($prefix)" 16 16 let lib_dir = $prefix | path join "share" "atomic-xr" "lib" 17 17 let axr = open ($self | path join 'src' 'axr.nu.in') --raw 18 - | str replace "/@AXR_LIB@/" $"use ($lib_dir)/atomic-xr" 18 + | str replace -a "/@AXR_LIB@/" $"use ($lib_dir)/atomic-xr" 19 19 let bin = $prefix | path join "bin" "axr" 20 20 21 21 if not $safe {
+2 -2
src/axr.nu.in
··· 13 13 ] { 14 14 let function = $function | str join ' ' 15 15 if $interactive { 16 - exec nu -e "use atomic-xr; print $'(ansi yellow)AtomicXR module loaded.(ansi reset)'" 16 + exec nu -e "/@AXR_LIB@/; print $'(ansi yellow)AtomicXR module loaded.(ansi reset)'" 17 17 } else if $list or ($function | is-empty) { 18 18 print-functions 19 19 } else { 20 20 # Make sure the function is valid to avoid unhelpful error messages (doesn't check flags) 21 21 if ($function | str replace -r " -.*" '') in (get-functions | append (get-aliases)) { 22 - nu -c $"use atomic-xr ; atomic-xr ($function)" 22 + nu -c $"/@AXR_LIB@/; atomic-xr ($function)" 23 23 } else { 24 24 log error $"Invalid function: `($function)`" 25 25 print-functions