Move .scripts -> .local/bin
This commit is contained in:
Executable
+10
@@ -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"
|
||||
Reference in New Issue
Block a user