Move .scripts -> .local/bin

This commit is contained in:
Riyyi
2021-02-25 20:16:07 +01:00
parent 3ac7d9f601
commit ba10984084
40 changed files with 93 additions and 94 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
WIRED="${1:-eth0}"
IP="$(ip a show "$WIRED" \
| awk '/inet / { print substr($2, 0, length($2) - 3) }')"
notify-send -r 3 "Wired" "\
Interface: $WIRED
IP: $IP"