From a679d51735f9bd79c73fafd63b8ea665a1d44508 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 14 Feb 2022 22:52:40 -0300 Subject: [PATCH] Add suspendSystem --- dotfiles/.local/bin/suspendSystem | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 dotfiles/.local/bin/suspendSystem diff --git a/dotfiles/.local/bin/suspendSystem b/dotfiles/.local/bin/suspendSystem new file mode 100755 index 0000000..46f81d3 --- /dev/null +++ b/dotfiles/.local/bin/suspendSystem @@ -0,0 +1,6 @@ +#!/bin/sh + +echo EHC1 | sudo tee /proc/acpi/wakeup > /dev/null +echo EHC2 | sudo tee /proc/acpi/wakeup > /dev/null +echo XHC | sudo tee /proc/acpi/wakeup > /dev/null +systemctl suspend