summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-03-09 10:40:34 +0100
committerJoe <rrbo@proton.me>2023-03-09 10:40:34 +0100
commit38d4ccdce9c08aedb2d80e23ca048d10f09945ac (patch)
treed7b226673d08699dd657232ffea7b089fa6588c6 /.local
parentup (diff)
downloaddotfiles-bsd-38d4ccdce9c08aedb2d80e23ca048d10f09945ac.tar.gz
dotfiles-bsd-38d4ccdce9c08aedb2d80e23ca048d10f09945ac.tar.bz2
dotfiles-bsd-38d4ccdce9c08aedb2d80e23ca048d10f09945ac.tar.xz
dotfiles-bsd-38d4ccdce9c08aedb2d80e23ca048d10f09945ac.tar.zst
dotfiles-bsd-38d4ccdce9c08aedb2d80e23ca048d10f09945ac.zip
MARS
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/conky/getif.sh2
-rwxr-xr-x.local/bin/conky/net.sh2
-rwxr-xr-x.local/bin/conky/weather.sh6
-rwxr-xr-x.local/bin/idea2
-rwxr-xr-x.local/bin/powercmd8
5 files changed, 10 insertions, 10 deletions
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
;;
*)