mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Android unmount fix
This commit is contained in:
parent
83f154ad17
commit
18378660ca
@ -13,7 +13,7 @@ unmountusb() {
|
|||||||
unmountandroid() { \
|
unmountandroid() { \
|
||||||
chosen=$(awk '/simple-mtpfs/ {print $2}' /etc/mtab | dmenu -i -p "Unmount which device?")
|
chosen=$(awk '/simple-mtpfs/ {print $2}' /etc/mtab | dmenu -i -p "Unmount which device?")
|
||||||
[ -z "$chosen" ] && exit
|
[ -z "$chosen" ] && exit
|
||||||
fusermount -u "$chosen" && pgrep -x dunst && notify-send "$chosen unmounted."
|
sudo -A umount -l "$chosen" && pgrep -x dunst && notify-send "$chosen unmounted."
|
||||||
}
|
}
|
||||||
|
|
||||||
asktype() { \
|
asktype() { \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user