From 6a12d291991c78eb4b45cabed3aad9f024349e1c Mon Sep 17 00:00:00 2001 From: Alex Wright Date: Sun, 26 May 2024 00:52:14 +0100 Subject: [PATCH] pls work --- host/.xsession | 4 ++-- install.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/host/.xsession b/host/.xsession index 4e34a56..d08d40b 100755 --- a/host/.xsession +++ b/host/.xsession @@ -10,8 +10,8 @@ mkdir -p "/var/tmp/$USER" distrobox stop arch -Y distrobox rm arch -f -distrobox create --nvidia -i fng:latest -n arch -I --no-entry -d | sed -e '\#--volume "'$HOME'":#d' -e '\#--home "'$HOME'"#c\--home "/home/fng"' -e '\#--env "HOME='$HOME'"#c\--env "HOME=/home/fng"' | tr '\n' ' ' | source /dev/stdin +distrobox create --nvidia -i ghcr.io/AlexWright1324/fng:latest -n arch -I --no-entry -d | sed -e '\#--volume "'$HOME'":#d' -e '\#--home "'$HOME'"#c\--home "/home/fng"' -e '\#--env "HOME='$HOME'"#c\--env "HOME=/home/fng"' | tr '\n' ' ' | source /dev/stdin -distrobox enter arch -d -e dbus-run-session startplasma-x11 | awk '!/^--env/ || /--env "CONTAINER_ID=/' | tr '\n' ' ' | source /dev/stdin +distrobox enter arch -d -e "sudo chown $(id -u):$(id -g) -R /home/fng && dbus-run-session startplasma-x11" | awk '!/^--env/ || /--env "CONTAINER_ID=/' | sed -e '\#--workdir="#c\--workdir="/home/fng"' | tr '\n' ' ' | source /dev/stdin distrobox stop arch -Y diff --git a/install.sh b/install.sh index 47a13d3..81236c6 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,8 @@ #!/bin/bash set -e +# curl -s https://raw.githubusercontent.com/AlexWright1324/fng/main/install.sh | sh + # Download files URL="https://raw.githubusercontent.com/AlexWright1324/fng/main" curl "${URL}/host/storage.conf" --create-dirs -o "${HOME}/.config/containers/storage.conf"