From 239017d00c5fba371b3fd92cfd5cbdc3e0f86633 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Mon, 5 Dec 2022 21:58:53 -0500 Subject: [PATCH] Test isolation of scripts in Distrobox Export with (note that this is an executable, not an "application"): distrobox-export -el waybar-weather -ep ~/scripts/distrobox/debian11 -b ~/scripts/waybar/waybar-weather.pl --- distrobox/debian11/waybar-weather.pl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 distrobox/debian11/waybar-weather.pl diff --git a/distrobox/debian11/waybar-weather.pl b/distrobox/debian11/waybar-weather.pl new file mode 100755 index 0000000..ddd4400 --- /dev/null +++ b/distrobox/debian11/waybar-weather.pl @@ -0,0 +1,8 @@ +#!/bin/sh +# distrobox_binary +# name: debian11 +if [ ! -f /run/.containerenv ] && [ ! -f /.dockerenv ]; then + /bin/distrobox-enter -n debian11 -- /var/home/jpm/scripts/waybar/waybar-weather.pl "$@" +else + /var/home/jpm/scripts/waybar/waybar-weather.pl "$@" +fi