From c7d9be3434c3a024af76c96f381ce56bfeded827 Mon Sep 17 00:00:00 2001 From: koksnuss Date: Mon, 14 May 2018 00:33:06 +0200 Subject: [PATCH] fix ip thing --- README.md | 4 ++-- ip | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6a6555d..b29397c 100644 --- a/README.md +++ b/README.md @@ -25,16 +25,16 @@ storage df - [x] ram - [x] storage - [x] ip -- [ ] fix ip not showing sometimes +- [x] fix ip not showing sometimes - [x] battery - [x] same color palette - [x] audio - [x] fix audio not changing on mute - [x] cpu - [x] backlight +- [x] microphone - [ ] swap - [ ] wifi/ethernet/bluetooth - [ ] external storage with mount - [ ] ethernet bandwith -- [ ] microphone - [ ] nice icons as labels diff --git a/ip b/ip index 938ae54..4703fff 100755 --- a/ip +++ b/ip @@ -1,5 +1,5 @@ #!/bin/bash -ip=$(curl ifconfig.me/ip) +ip=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') echo $ip echo "" -echo "#04B431" +echo ""