aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/templates/apm-suspend
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-04 14:01:47 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-05 09:33:30 +0000
commit5c2e3443bedf0ef6a34888ea30361af7da314748 (patch)
treee792d59b44ef63981ccddbe39256a5f859df1f79 /roles/workstation/templates/apm-suspend
parentedf06330b130c6499cf5166d63a3d106555df513 (diff)
downloadrules-5c2e3443bedf0ef6a34888ea30361af7da314748.tar.gz
roles: Add workstation role
Diffstat (limited to 'roles/workstation/templates/apm-suspend')
-rwxr-xr-xroles/workstation/templates/apm-suspend5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/workstation/templates/apm-suspend b/roles/workstation/templates/apm-suspend
new file mode 100755
index 0000000..ef90fed
--- /dev/null
+++ b/roles/workstation/templates/apm-suspend
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -x -e
+
+pkill -USR1 xidle
remember that computers suck.