about summary refs log tree commit diff stats
path: root/hm/soispha/pkgs/scripts/wrappers/lock
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/pkgs/scripts/wrappers/lock')
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/lock19
1 files changed, 0 insertions, 19 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/lock b/hm/soispha/pkgs/scripts/wrappers/lock
deleted file mode 100755
index 376773c6..00000000
--- a/hm/soispha/pkgs/scripts/wrappers/lock
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env dash
-
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.13" . %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