aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-10-21 15:03:36 +0200
committerKarel Kočí <cynerd@email.cz>2017-10-21 15:03:36 +0200
commitfc2b873546980bfad62b54575cdb0d40fae895c3 (patch)
treeaed22e993ad69f79ee3fdc82f6c44a4ea6d2d9c5
parent167166c9c1c0ab80dc1a67373241181b00b77b87 (diff)
downloadmyconfigs-fc2b873546980bfad62b54575cdb0d40fae895c3.tar.gz
myconfigs-fc2b873546980bfad62b54575cdb0d40fae895c3.tar.bz2
myconfigs-fc2b873546980bfad62b54575cdb0d40fae895c3.zip
Change home ip range
-rwxr-xr-xconfig/i3blocks/scripts/mpd4
m---------private0
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