diff options
author | Karel Kočí <cynerd@email.cz> | 2019-01-16 10:49:36 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-01-16 10:49:36 +0100 |
commit | 8c1ee931b51faa7c0db7cf571512075490648c27 (patch) | |
tree | 7da29409fa2f1082b1de2e896b51e18b96573651 | |
parent | 161ffc8d8d50065b613b9759d6f8e857c2fed06b (diff) | |
download | gentoo-personal-overlay-8c1ee931b51faa7c0db7cf571512075490648c27.tar.gz gentoo-personal-overlay-8c1ee931b51faa7c0db7cf571512075490648c27.tar.bz2 gentoo-personal-overlay-8c1ee931b51faa7c0db7cf571512075490648c27.zip |
x11-misc/myi3lock: use elogind
This tweaks myi3lock to use elogind. It no longer requires pm-utils and
is locked with daemon waiting for logind event.
-rw-r--r-- | profiles/desktop/packages | 1 | ||||
-rw-r--r-- | profiles/laptop/packages | 1 | ||||
-rwxr-xr-x | x11-misc/myi3lock/files/pm-utils-lock | 13 | ||||
-rw-r--r-- | x11-misc/myi3lock/myi3lock-1.1-r1.ebuild (renamed from x11-misc/myi3lock/myi3lock-1.0-r1.ebuild) | 5 |
4 files changed, 1 insertions, 19 deletions
diff --git a/profiles/desktop/packages b/profiles/desktop/packages index 50d5287..bd17f06 100644 --- a/profiles/desktop/packages +++ b/profiles/desktop/packages @@ -1,5 +1,4 @@ # System -sys-power/pm-utils sys-apps/hdparm sys-apps/ethtool diff --git a/profiles/laptop/packages b/profiles/laptop/packages index fd01f88..dfc61a3 100644 --- a/profiles/laptop/packages +++ b/profiles/laptop/packages @@ -1,5 +1,4 @@ # Power -sys-power/acpid sys-power/powertop # Wifi diff --git a/x11-misc/myi3lock/files/pm-utils-lock b/x11-misc/myi3lock/files/pm-utils-lock deleted file mode 100755 index 901b1b1..0000000 --- a/x11-misc/myi3lock/files/pm-utils-lock +++ /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 myi3lock" - done - ;; - *) exit $NA - ;; -esac diff --git a/x11-misc/myi3lock/myi3lock-1.0-r1.ebuild b/x11-misc/myi3lock/myi3lock-1.1-r1.ebuild index 67fc781..9b8caa0 100644 --- a/x11-misc/myi3lock/myi3lock-1.0-r1.ebuild +++ b/x11-misc/myi3lock/myi3lock-1.1-r1.ebuild @@ -11,13 +11,10 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" x11-misc/i3lock x11-themes/background-lnxpcs - sys-power/pm-utils + x11-misc/xss-lock x11-wm/i3" BDEPEND="" src_install() { dobin "${FILESDIR}/myi3lock" - - exeinto /etc/pm/sleep.d - newexe "${FILESDIR}/pm-utils-lock" "10lock" } |