summaryrefslogtreecommitdiff
path: root/bar
diff options
context:
space:
mode:
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 }'