From 38d4ccdce9c08aedb2d80e23ca048d10f09945ac Mon Sep 17 00:00:00 2001
From: Joe <rrbo@proton.me>
Date: Thu, 9 Mar 2023 10:40:34 +0100
Subject: MARS

---
 .local/bin/conky/getif.sh   | 2 +-
 .local/bin/conky/net.sh     | 2 +-
 .local/bin/conky/weather.sh | 6 +++---
 .local/bin/idea             | 2 +-
 .local/bin/powercmd         | 8 ++++----
 5 files changed, 10 insertions(+), 10 deletions(-)

(limited to '.local/bin')

diff --git a/.local/bin/conky/getif.sh b/.local/bin/conky/getif.sh
index cf7d921..a4aff49 100755
--- a/.local/bin/conky/getif.sh
+++ b/.local/bin/conky/getif.sh
@@ -11,7 +11,7 @@ case "$(hostname -s)" in
 		if_main="enx4ce1734c425a"
 		if_alt="wlp1s0"
 		;;
-	fbsd-tp)
+	mars)
 		if_main="em0"
 		if_alt="wlan0"
 		exit
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh
index 883d906..8def12f 100755
--- a/.local/bin/conky/net.sh
+++ b/.local/bin/conky/net.sh
@@ -9,7 +9,7 @@ case "$(hostname -s)" in
 		if_main="enx4ce1734c425a"
 		if_alt="wlp1s0"
 		;;
-	fbsd-tp)
+	mars)
 		if_main="em0"
 		if_alt="wlan0"
 		exit
diff --git a/.local/bin/conky/weather.sh b/.local/bin/conky/weather.sh
index 4188814..b24f589 100755
--- a/.local/bin/conky/weather.sh
+++ b/.local/bin/conky/weather.sh
@@ -2,10 +2,10 @@
 
 case "$(hostname -s)" in
 	mother | po-rbo)
-		ping -c1 -w1 1.1.1.1 >/dev/null 2>&1 || exit
+		ping -c1 -w1 9.9.9.9 >/dev/null 2>&1 || exit
 		;;
-	fbsd-tp)
-		ping -c1 -t1 1.1.1.1 >/dev/null 2>&1 || exit
+	mars)
+		ping -c1 -t1 9.9.9.9 >/dev/null 2>&1 || exit
 		;;
 esac
 
diff --git a/.local/bin/idea b/.local/bin/idea
index c6ffa6d..86335c8 100755
--- a/.local/bin/idea
+++ b/.local/bin/idea
@@ -18,7 +18,7 @@ html_fmt='\t\t\t\t<h3>'"${date}"'</h3>\
 '
 case $(hostname -s) in
 	mother|po-rbo) sed="sed -i" ;;
-	fbsd-tp) sed="sed -i ''" ;;
+	mars) sed="sed -i ''" ;;
 esac
 
 $sed -e '/<!-- thoughts here -->$/{n;s#^#'"${html_fmt}"'#;}' \
diff --git a/.local/bin/powercmd b/.local/bin/powercmd
index 371f911..6e6c613 100755
--- a/.local/bin/powercmd
+++ b/.local/bin/powercmd
@@ -6,7 +6,7 @@ host="$(hostname -s)"
 case $host in
 	mother) icon=" " ;;
 	po-rbo) icon=" " ;;
-	fbsd-tp) icon=" " ;;
+	mars) icon=" " ;;
 esac
 
 case $1 in
@@ -19,7 +19,7 @@ case $1 in
 		case $host in
 			mother) loginctl suspend ;;
 			po-rbo) systemctl suspend ;;
-			fbsd-tp) acpiconf -s 3 ;;
+			mars) acpiconf -s 3 ;;
 		esac
 		;;
 	"reboot")
@@ -29,7 +29,7 @@ case $1 in
 		case $host in
 			mother) loginctl reboot ;;
 			po-rbo) systemctl reboot ;;
-			fbsd-tp) shutdown -r now ;;
+			mars) shutdown -r now ;;
 		esac
 		;;
 	"poweroff")
@@ -39,7 +39,7 @@ case $1 in
 		case $host in
 			mother) loginctl poweroff ;;
 			po-rbo) systemctl poweroff ;;
-			fbsd-tp) shutdown -p now ;;
+			mars) shutdown -p now ;;
 		esac
 		;;
 	*)
-- 
cgit v1.2.3