Skip to content

Commit

Permalink
pls work
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWright1324 committed May 25, 2024
1 parent 24b642c commit 6a12d29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host/.xsession
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 6a12d29

Please sign in to comment.