move script folders to a correct place, some vim config changes, etc...

This commit is contained in:
Arthur Khachaturov 2024-07-04 13:31:45 +03:00
parent c360fc2339
commit ffe452fe24
28 changed files with 380 additions and 360 deletions

11
.local/bin/scripts/mnt Executable file
View 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