diff options
-rwxr-xr-x | config/i3blocks/scripts/mpd | 4 | ||||
m--------- | private | 0 |
2 files changed, 2 insertions, 2 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 -Subproject fb3a9dd8a718b055168dc1bcac4e9ac19ad06e9 +Subproject 8b7d38ed9ff13ff2303262024f4c204cd1eb0cc |