diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-11 00:36:13 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-11 00:36:13 -0500 |
commit | 0a9053c2902adab8b94eaacdb15390441143078c (patch) | |
tree | 1f1a38272dbd554cde8cdec263187112b9c6a7e8 /bar/netnotification | |
download | scripts-0a9053c2902adab8b94eaacdb15390441143078c.tar.xz scripts-0a9053c2902adab8b94eaacdb15390441143078c.zip |
redid repo cus of fucking chromium rip old commit messages
Diffstat (limited to 'bar/netnotification')
-rwxr-xr-x | bar/netnotification | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bar/netnotification b/bar/netnotification new file mode 100755 index 0000000..ee68238 --- /dev/null +++ b/bar/netnotification @@ -0,0 +1,5 @@ +#!/bin/sh +ip="`ip addr | sed -n '/\slo/d; s/\/.*//; s/\s*inet /IP Address:\t/p;'`" +ssid="`iw wlp3s0 link | sed -n 's/\s*SSID:\s*/SSID:\t\t/p'`" + +notify-send -u low "Network info:" "$ip\n$ssid" |