about summary refs log tree commit diff stats
path: root/pkgs/sources/scripts/source/apps/aumo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/sources/scripts/source/apps/aumo.sh')
-rwxr-xr-xpkgs/sources/scripts/source/apps/aumo.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/pkgs/sources/scripts/source/apps/aumo.sh b/pkgs/sources/scripts/source/apps/aumo.sh
deleted file mode 100755
index 84d39deb..00000000
--- a/pkgs/sources/scripts/source/apps/aumo.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#! /usr/bin/env dash
-
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
-
-unmounting() {
-    disk_name="$(find /dev/disk/by-label -type l -printf "%P|" | rofi -sep "|" -dmenu -p "Select disk to mount")"
-
-    udisksctl unmount --block-device "/dev/disk/by-label/$disk_name"
-}
-
-mounting() {
-    disk_name="$(find /dev/disk/by-label -type l -printf "%P|" | rofi -sep "|" -dmenu -p "Select disk to mount")"
-
-    udisksctl mount --block-device "/dev/disk/by-label/$disk_name"
-}
-
-case "$1" in
-"mount")
-    mounting
-    ;;
-"unmount" | "umount")
-    unmounting
-    ;;
-*)
-    die "Usage: $NAME mount|unmount"
-    ;;
-esac