Adds ip addresses to phone status notification
This commit is contained in:
parent
8622794068
commit
80cf21dcf4
1 changed files with 3 additions and 1 deletions
|
@ -23,8 +23,10 @@ done
|
||||||
notification="
|
notification="
|
||||||
$batteryIcon ${battery}%
|
$batteryIcon ${battery}%
|
||||||
Time $time
|
Time $time
|
||||||
|
$( ip r | grep -v "default" | awk '{print $3 ": " $9}')
|
||||||
$( [ "$missedCallsNo" -gt 0 ] && echo "$missedCallsNo Missed Calls" )
|
$( [ "$missedCallsNo" -gt 0 ] && echo "$missedCallsNo Missed Calls" )
|
||||||
$( [ "$newTexts" -gt 0 ] && echo "$newTexts New Texts" )"
|
$( [ "$newTexts" -gt 0 ] && echo "$newTexts New Texts" )
|
||||||
|
"
|
||||||
|
|
||||||
notification="$( echo "$notification" | sed '/^$/d' )"
|
notification="$( echo "$notification" | sed '/^$/d' )"
|
||||||
notify-send "$(hostname)" "$notification"
|
notify-send "$(hostname)" "$notification"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue