move script folders to a correct place, some vim config changes, etc...
This commit is contained in:
parent
c360fc2339
commit
ffe452fe24
28 changed files with 380 additions and 360 deletions
11
.local/bin/scripts/mnt
Executable file
11
.local/bin/scripts/mnt
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
[ -z "$1" ] && (echo "No arguments supplied!" ; exit 1)
|
||||
|
||||
if [ "$(udisksctl info -b "$1" | grep -c 'MountPoints:\s\{8\}.')" -eq 0 ]; then
|
||||
udisksctl mount -b "$1"
|
||||
else
|
||||
udisksctl unmount -b "$1"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue