aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/templates
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-02-19 13:52:56 +0100
committerbinary <me@rgoncalves.se>2021-02-19 13:52:56 +0100
commit2a0a4d8e2c97c1a3668c82a816dbd0b3129da3d2 (patch)
treec3cb30a81e26979c7b9d842cb33a8abf9b57604d /roles/workstation/templates
parentf711c771a43bd8e2c81fcdf7f463c1776f609021 (diff)
downloadinfrastructure-2a0a4d8e2c97c1a3668c82a816dbd0b3129da3d2.tar.gz
Fix blockinfile and use loop for system wide config. files
Diffstat (limited to 'roles/workstation/templates')
l---------roles/workstation/templates/etc-apm-hibernate1
-rwxr-xr-xroles/workstation/templates/etc-apm-suspend3
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/workstation/templates/etc-apm-hibernate b/roles/workstation/templates/etc-apm-hibernate
new file mode 120000
index 0000000..a07e961
--- /dev/null
+++ b/roles/workstation/templates/etc-apm-hibernate
@@ -0,0 +1 @@
+etc-apm-suspend \ No newline at end of file
diff --git a/roles/workstation/templates/etc-apm-suspend b/roles/workstation/templates/etc-apm-suspend
new file mode 100755
index 0000000..9d36537
--- /dev/null
+++ b/roles/workstation/templates/etc-apm-suspend
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pkill -USR1 xidle
remember that computers suck.