Add suspend functio nfor freebsd

This commit is contained in:
2025-07-06 20:29:05 +02:00
parent 8e3ee6a9cc
commit d8c487cbc7

View File

@@ -66,7 +66,7 @@ run_cmd() {
elif [[ $1 == '--reboot' ]]; then
shutdown -r now
elif [[ $1 == '--suspend' ]]; then
systemctl suspend
acpiconf -s 3
elif [[ $1 == '--logout' ]]; then
if [[ "$XDG_SESSION_DESKTOP" == 'openbox' ]]; then
openbox --exit