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

7
.local/bin/statusbar/sb-vpn Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
IFNAME="$(ip link show | grep 'wg_' | cut -d ' ' -f 2 | sed 's/://' | sed 's/wg_//' | tr '[:lower:]' '[:upper:]' | sed 's/_D/ (dpi)/')"
if [ ! -z "${IFNAME}" ]; then
echo "🛡️ ${IFNAME}"
fi