From 0a9053c2902adab8b94eaacdb15390441143078c Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sat, 11 Sep 2021 00:36:13 -0500 Subject: redid repo cus of fucking chromium rip old commit messages --- bar/netnotification | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bar/netnotification (limited to 'bar/netnotification') 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" -- cgit v1.2.3