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
7
.local/bin/statusbar/sb-vpn
Executable file
7
.local/bin/statusbar/sb-vpn
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue