summaryrefslogtreecommitdiffstats
path: root/.local/bin/powercmd
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/bin/powercmd
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 '')
-rwxr-xr-x.local/bin/powercmd8
1 files changed, 4 insertions, 4 deletions
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
;;
*)