summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.i3/config2
-rw-r--r--.i3/i3status.conf6
-rwxr-xr-xbin/mystatus9
3 files changed, 13 insertions, 4 deletions
diff --git a/.i3/config b/.i3/config
index 53d1fe0..9403a9e 100644
--- a/.i3/config
+++ b/.i3/config
@@ -148,7 +148,7 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
- status_command i3status
+ status_command $HOME/bin/mystatus
}
# Workspaces
diff --git a/.i3/i3status.conf b/.i3/i3status.conf
index 7052e23..3134fd1 100644
--- a/.i3/i3status.conf
+++ b/.i3/i3status.conf
@@ -13,12 +13,12 @@ general {
order += "ipv6"
order += "disk /"
-order += "run_watch DHCP"
-order += "run_watch VPN"
+# order += "run_watch DHCP"
+# order += "run_watch VPN"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 0"
-order += "load"
+# order += "load"
order += "tztime local"
wireless _first_ {
diff --git a/bin/mystatus b/bin/mystatus
new file mode 100755
index 0000000..b26e9b6
--- /dev/null
+++ b/bin/mystatus
@@ -0,0 +1,9 @@
+#!/bin/sh
+# shell script to prepend i3status with more stuff
+
+i3status | while :
+do
+ read line
+ nmails=$(find $HOME/.mail -path '*/new/*' -type f | wc -l)
+ echo "Email: ${nmails} | $line" || exit 1
+done