From fc2b873546980bfad62b54575cdb0d40fae895c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 21 Oct 2017 15:03:36 +0200 Subject: Change home ip range --- config/i3blocks/scripts/mpd | 4 ++-- private | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/i3blocks/scripts/mpd b/config/i3blocks/scripts/mpd index 32babe1..914def6 100755 --- a/config/i3blocks/scripts/mpd +++ b/config/i3blocks/scripts/mpd @@ -1,9 +1,9 @@ #!/bin/bash -HOST_HOME="192.168.0.51" +HOST_HOME="10.8.2.51" HOST="" # Let's be sneaky and verify that we are on relevant network before we try to ping -if ip a | grep -q 'inet 192.168.0.' && \ +if ip a | grep -q 'inet 10.8.2.' && \ ping -c 1 -w 1 "$HOST_HOME" >/dev/null 2>&1; then # TODO check that mpd is running? HOST="-h $HOST_HOME" diff --git a/private b/private index fb3a9dd..8b7d38e 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit fb3a9dd8a718b055168dc1bcac4e9ac19ad06e9e +Subproject commit 8b7d38ed9ff13ff2303262024f4c204cd1eb0cc8 -- cgit v1.2.3