about summary refs log tree commit diff stats
path: root/pkgs/sources/scripts/source/wrappers/lock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/sources/scripts/source/wrappers/lock.sh')
-rwxr-xr-xpkgs/sources/scripts/source/wrappers/lock.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/pkgs/sources/scripts/source/wrappers/lock.sh b/pkgs/sources/scripts/source/wrappers/lock.sh
deleted file mode 100755
index 3101ef9a..00000000
--- a/pkgs/sources/scripts/source/wrappers/lock.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env dash
-
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
-
-context="$(task _get rc.context)"
-[ "$context" ] && task context none
-
-# We have ensured that only one task is active
-active="$(task +ACTIVE _ids)"
-[ "$active" ] && task stop "$active"
-
-swaylock
-
-[ "$active" ] && task start "$active"
-
-[ "$context" ] && task context "$context"
-# vim: ft=sh