From 3d3d79a57fb6d0a5728e0070475f05d1699f0818 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Wed, 16 Mar 2022 23:37:09 -0500 Subject: move a lot of scripts around and make a bunch of minor changes. once again i am too lazy to document the changes properly since im never going to read these commit messages anyways --- bar/batterynotification | 2 -- bar/calendarnotification | 2 -- bar/netnotification | 5 ----- bar/wmip | 2 +- 4 files changed, 1 insertion(+), 10 deletions(-) delete mode 100755 bar/batterynotification delete mode 100755 bar/calendarnotification delete mode 100755 bar/netnotification (limited to 'bar') diff --git a/bar/batterynotification b/bar/batterynotification deleted file mode 100755 index 5cdb2fb..0000000 --- a/bar/batterynotification +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -notify-send "Battery info:" "`blr -eElL`" diff --git a/bar/calendarnotification b/bar/calendarnotification deleted file mode 100755 index 39df717..0000000 --- a/bar/calendarnotification +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -notify-send -u low -t 10000 "`date +'%m/%d/%Y %T'`" "`cal | tr '[:upper:]' '[:lower:]'`\n`date +'day %0j, week %0U, q%q'`" diff --git a/bar/netnotification b/bar/netnotification deleted file mode 100755 index ee68238..0000000 --- a/bar/netnotification +++ /dev/null @@ -1,5 +0,0 @@ -#!/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" diff --git a/bar/wmip b/bar/wmip index 63e5676..3105038 100755 --- a/bar/wmip +++ b/bar/wmip @@ -1,2 +1,2 @@ #!/bin/sh -ip addr | awk '!/ lo/ && /inet / { sub(/\/.*/, "", $2); print $2 }' +ip a | awk '!/ lo/ && /inet / { sub(/\/.*/, "", $2); print $2 }' -- cgit v1.2.3