Initial commit

This commit is contained in:
Oscar Wallberg
2024-07-14 13:55:45 +02:00
commit 24430a42fb
75 changed files with 6638 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env sh
set -euo pipefail
(
exec bwrap \
--ro-bind /usr/bin /usr/bin \
--ro-bind /usr/share/ /usr/share/ \
--ro-bind /usr/lib /usr/lib \
--ro-bind /usr/lib64 /usr/lib64 \
--symlink /usr/bin /bin \
--symlink /usr/bin /sbin \
--symlink /usr/lib /lib \
--symlink /usr/lib64 /lib64 \
--proc /proc \
--dev /dev \
--ro-bind /etc /etc \
--ro-bind ~/.config ~/.config \
--ro-bind ~/.cache ~/.cache \
--ro-bind "$PWD" "$PWD" \
--unshare-all \
--new-session \
sh ~/.config/lf/pv.sh "$@"
)