summaryrefslogtreecommitdiff
path: root/sys-power/pm-i3lock/files/10lock
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-10-08 11:16:26 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-10-08 11:16:26 +0200
commitde5791ddb42d5b609b6b2d2e0c03f6524f12647c (patch)
tree0037c231a7f063501cf96dfa5f0cc621369c7a1b /sys-power/pm-i3lock/files/10lock
parent2b0cc4d4d1532bfddc753b038e1e8a51e3dd02b8 (diff)
downloadgentoo-personal-overlay-de5791ddb42d5b609b6b2d2e0c03f6524f12647c.tar.gz
gentoo-personal-overlay-de5791ddb42d5b609b6b2d2e0c03f6524f12647c.tar.bz2
gentoo-personal-overlay-de5791ddb42d5b609b6b2d2e0c03f6524f12647c.zip
Reimplement i3lock script handling
Now there is central package for my specific i3lock script and pm trigger. Package background-lnxpcs is not solely for images and background.
Diffstat (limited to 'sys-power/pm-i3lock/files/10lock')
-rwxr-xr-xsys-power/pm-i3lock/files/10lock13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys-power/pm-i3lock/files/10lock b/sys-power/pm-i3lock/files/10lock
deleted file mode 100755
index 109dbfe..0000000
--- a/sys-power/pm-i3lock/files/10lock
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-# 10sleep: lock i3 season before suspend
-
-case "$1" in
- hibernate|suspend)
- for socket in $(find /run/user/*/i3 /tmp/i3-* -name ipc-socket\* 2>/dev/null); do
- i3-msg -s $socket "exec i3lock-lnxpcs"
- done
- ;;
- *) exit $NA
- ;;
-esac