summaryrefslogtreecommitdiff
path: root/scripts/system/lock-computer
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system/lock-computer')
-rwxr-xr-xscripts/system/lock-computer4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/system/lock-computer b/scripts/system/lock-computer
new file mode 100755
index 0000000..0abb3a2
--- /dev/null
+++ b/scripts/system/lock-computer
@@ -0,0 +1,4 @@
+#!/bin/sh
+if not pgrep swaylock; then
+ swaylock
+fi