diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-02-02 22:34:34 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-02-02 22:34:34 +0100 |
commit | 83ea812c294822c494d88a23a820eb5ece5f7561 (patch) | |
tree | 361f1839fc15a49574d018eed1ff3f2880eb81b0 | |
parent | 3d4dc46d3f39edacf3654ba00a666383a12d8375 (diff) |
Fix a few errors
-rw-r--r-- | crontab/crontab | 2 | ||||
-rwxr-xr-x | i3/.config/i3blocks/bin/wifi | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crontab/crontab b/crontab/crontab index c527030..b691171 100644 --- a/crontab/crontab +++ b/crontab/crontab @@ -1 +1,3 @@ */5 * * * * DISPLAY=:0 /usr/bin/env mbsync -a +*/5 * * * * /usr/bin/env mr push +*/5 * * * * /usr/bin/env mr update diff --git a/i3/.config/i3blocks/bin/wifi b/i3/.config/i3blocks/bin/wifi index 01ff021..434c508 100755 --- a/i3/.config/i3blocks/bin/wifi +++ b/i3/.config/i3blocks/bin/wifi @@ -8,7 +8,7 @@ eth_address=$(ip addr show eno1 2>/dev/null | grep -oP -m1 "(?<=inet ).*(?=/)") if [[ -n $eth_address ]]; then echo "eno1: $eth_address" elif [[ -n $wifi_address ]]; then - echo "wlp2s0: (${quality}% at ${ssid}) ${address}" + echo "wlp2s0: (${quality}% at ${ssid}) ${wifi_address}" else echo "No connection" fi |