reinstalled
This commit is contained in:
@@ -69,7 +69,7 @@ def stow(pkg: str):
|
||||
|
||||
|
||||
def switch(session: str):
|
||||
subprocess.run(["config-switch", session], check=True)
|
||||
subprocess.run(["~/.local/scripts/config-switch", session], check=True)
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Description:
|
||||
# Quick snippet for smb unmounting
|
||||
|
||||
[ -z "$SMB_MOUNT_POINT" ] && SMB_MOUNT_POINT="/mnt/smb"
|
||||
|
||||
if sudo umount "$SMB_MOUNT_POINT" && sudo rmdir "$SMB_MOUNT_POINT"; then
|
||||
echo "Unmounted and removed mount point $SMB_MOUNT_POINT"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
@@ -11,6 +11,6 @@ set -e
|
||||
|
||||
waydroid session stop
|
||||
# sudo waydroid upgrade # since I'm not using the default image
|
||||
sudo waydroid init -f
|
||||
# sudo waydroid init -f -s GAPPS
|
||||
sudo systemctl restart waydroid-container
|
||||
waydroid show-full-ui
|
||||
waydroid show-full-ui
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Description:
|
||||
# Quick snippet for unmounting WSL filesystems and removing the mount point.
|
||||
|
||||
[ -z "$1" ] && mount_point="/mnt/wsl" || mount_point="$1"
|
||||
|
||||
sudo umount "$mount_point" || {
|
||||
echo "Failed to unmount $mount_point. It may not be mounted or you may not have the necessary permissions."
|
||||
exit 1
|
||||
}
|
||||
|
||||
sudo rmdir "$mount_point" || {
|
||||
echo "Failed to remove the mount point directory $mount_point. It may not be empty or you may not have the necessary permissions."
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo "Successfully unmounted and removed $mount_point."
|
||||
Reference in New Issue
Block a user