reinstalled

This commit is contained in:
2025-11-12 01:25:37 +01:00
parent 7483945552
commit a6ac840f2c
4 changed files with 3 additions and 33 deletions

View File

@@ -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():

View File

@@ -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

View File

@@ -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

View File

@@ -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."