diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2022-06-27 13:52:18 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2022-06-27 13:52:18 -0400 |
| commit | 545355d138b175c099f9dd8e523f986b703418a4 (patch) | |
| tree | f6ae089caec399e5092b5333d50375e0dd94d55b /.local | |
| parent | bc67fd749cce6c39d987bf1429181a8fa68972e9 (diff) | |
| parent | fe9be01d591f2eb2f2c0b739e7de5a11ef46b418 (diff) | |
| download | eibhear-545355d138b175c099f9dd8e523f986b703418a4.tar.gz eibhear-545355d138b175c099f9dd8e523f986b703418a4.tar.zst eibhear-545355d138b175c099f9dd8e523f986b703418a4.zip | |
Merge branch 'dmenumount-filter-parents' of https://github.com/Prof-Bloodstone/voidrice into Prof-Bloodstone-dmenumount-filter-parents
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/dmenumount | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmenumount b/.local/bin/dmenumount index cb0601e..abeb0ce 100755 --- a/.local/bin/dmenumount +++ b/.local/bin/dmenumount @@ -50,7 +50,7 @@ asktype() { \ } anddrives=$(simple-mtpfs -l 2>/dev/null) -usbdrives="$(lsblk -rpo "name,type,size,label,mountpoint" | grep 'part\|rom' | sed 's/ /:/g' | awk -F':' '$5==""{printf "%s (%s) %s\n",$1,$3,$4}')" +usbdrives="$(lsblk -rpo "name,type,size,label,mountpoint,fstype" | grep -v crypto_LUKS | grep 'part\|rom' | sed 's/ /:/g' | awk -F':' '$5==""{printf "%s (%s) %s\n",$1,$3,$4}')" if [ -z "$usbdrives" ]; then [ -z "$anddrives" ] && echo "No USB drive or Android device detected" && exit |
