summaryrefslogtreecommitdiff
path: root/bar
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2022-03-16 23:37:09 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2022-03-16 23:37:09 -0500
commit3d3d79a57fb6d0a5728e0070475f05d1699f0818 (patch)
treeb141cba678d6bb9821bb33b0dd7c7f1ca31b2c6a /bar
parentd51fa1bdda79b8589ddf0002fc4b54aac6ce8354 (diff)
downloadscripts-3d3d79a57fb6d0a5728e0070475f05d1699f0818.tar.xz
scripts-3d3d79a57fb6d0a5728e0070475f05d1699f0818.zip
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
Diffstat (limited to 'bar')
-rwxr-xr-xbar/batterynotification2
-rwxr-xr-xbar/calendarnotification2
-rwxr-xr-xbar/netnotification5
-rwxr-xr-xbar/wmip2
4 files changed, 1 insertions, 10 deletions
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 }'