summaryrefslogtreecommitdiff
path: root/keyboard/umnt
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2022-01-20 17:07:39 -0600
committerTimmy Keller <tjk@tjkeller.xyz>2022-01-20 17:07:39 -0600
commit1ffe58f3ee6eeb2d81729eb7c458a8979eb2df68 (patch)
treeabf5bd1cfa67232bc349174135814e316be3de3b /keyboard/umnt
parent32d34ac9c5e3b682800f65f24743f2f29af04347 (diff)
downloadscripts-1ffe58f3ee6eeb2d81729eb7c458a8979eb2df68.tar.xz
scripts-1ffe58f3ee6eeb2d81729eb7c458a8979eb2df68.zip
moved many scripts around, small tweaks/rewrites, mounter verify xsudo and xclick scripts
Diffstat (limited to 'keyboard/umnt')
-rwxr-xr-xkeyboard/umnt8
1 files changed, 0 insertions, 8 deletions
diff --git a/keyboard/umnt b/keyboard/umnt
deleted file mode 100755
index 8191047..0000000
--- a/keyboard/umnt
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-exclude='\/efi$|\/boot$|\/home$|tbhdd$|\/$'
-if mountedpartition=`lsblk --noheadings --paths --raw | awk "/part .+/ && !/$exclude/ "'{ print $1, "(on", $7 ")" }' | dmenu -p "Unmount Device... "`
-then
- doas umount -A "`echo $mountedpartition | sed 's/ .*//'`" \
- && notify-send --urgency low "Device Successfully Unmounted" "Partition \"$mountedpartition\" successfully unmounted" --time 120000 \
- || notify-send --urgency low "Error Unmounting Device" "Could not unmount partition \"$mountedpartition\""
-fi