diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2022-03-16 23:37:09 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2022-03-16 23:37:09 -0500 |
commit | 3d3d79a57fb6d0a5728e0070475f05d1699f0818 (patch) | |
tree | b141cba678d6bb9821bb33b0dd7c7f1ca31b2c6a /bar | |
parent | d51fa1bdda79b8589ddf0002fc4b54aac6ce8354 (diff) | |
download | scripts-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-x | bar/batterynotification | 2 | ||||
-rwxr-xr-x | bar/calendarnotification | 2 | ||||
-rwxr-xr-x | bar/netnotification | 5 | ||||
-rwxr-xr-x | bar/wmip | 2 |
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" @@ -1,2 +1,2 @@ #!/bin/sh -ip addr | awk '!/ lo/ && /inet / { sub(/\/.*/, "", $2); print $2 }' +ip a | awk '!/ lo/ && /inet / { sub(/\/.*/, "", $2); print $2 }' |