From 7aadcd34074dd894ef825e238a1c4b77f3d7251a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Wed, 13 Jan 2021 09:43:46 +0100
Subject: x11-misc/myi3lock: remove purple-remote

---
 x11-misc/myi3lock/files/myi3lock            |  4 ----
 x11-misc/myi3lock/myi3lock-1.4.0-r1.ebuild  | 21 ---------------------
 x11-misc/myi3lock/myi3lock-1.45.0-r1.ebuild | 21 +++++++++++++++++++++
 3 files changed, 21 insertions(+), 25 deletions(-)
 delete mode 100644 x11-misc/myi3lock/myi3lock-1.4.0-r1.ebuild
 create mode 100644 x11-misc/myi3lock/myi3lock-1.45.0-r1.ebuild

diff --git a/x11-misc/myi3lock/files/myi3lock b/x11-misc/myi3lock/files/myi3lock
index 846a249..9bb3d32 100755
--- a/x11-misc/myi3lock/files/myi3lock
+++ b/x11-misc/myi3lock/files/myi3lock
@@ -2,8 +2,6 @@
 BACKS="/usr/share/backgrounds"
 
 if [ "$1" != "--login" ]; then
-	# Set pidgin to offline
-	purple-remote 'setstatus?status=offline'
 	xset +dpms dpms 5 5 5
 	( sleep 3; xset dpms force off ) &
 fi
@@ -16,6 +14,4 @@ i3lock -n -c 000000 -i "$(shuf -n1 -e "$BACKS"/*)"
 
 if [ "$1" != "--login" ]; then
 	xset dpms 0 0 0
-	# Set pidgin to available
-	purple-remote 'setstatus?status=available'
 fi
diff --git a/x11-misc/myi3lock/myi3lock-1.4.0-r1.ebuild b/x11-misc/myi3lock/myi3lock-1.4.0-r1.ebuild
deleted file mode 100644
index 64950a7..0000000
--- a/x11-misc/myi3lock/myi3lock-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-EAPI=7
-
-DESCRIPTION="Script calling i3lock used to automate some tasks on lock"
-HOMEPAGE="https://git.cynerd.cz"
-S="${WORKDIR}"
-
-LICENSE="GPL-3.0+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	x11-misc/i3lock
-	x11-themes/background-lnxpcs
-	x11-misc/xss-lock
-	x11-wm/i3"
-BDEPEND=""
-
-src_install() {
-	dobin "${FILESDIR}/myi3lock"
-	dobin "${FILESDIR}/mylock-notifier-fade.sh"
-}
diff --git a/x11-misc/myi3lock/myi3lock-1.45.0-r1.ebuild b/x11-misc/myi3lock/myi3lock-1.45.0-r1.ebuild
new file mode 100644
index 0000000..64950a7
--- /dev/null
+++ b/x11-misc/myi3lock/myi3lock-1.45.0-r1.ebuild
@@ -0,0 +1,21 @@
+EAPI=7
+
+DESCRIPTION="Script calling i3lock used to automate some tasks on lock"
+HOMEPAGE="https://git.cynerd.cz"
+S="${WORKDIR}"
+
+LICENSE="GPL-3.0+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	x11-misc/i3lock
+	x11-themes/background-lnxpcs
+	x11-misc/xss-lock
+	x11-wm/i3"
+BDEPEND=""
+
+src_install() {
+	dobin "${FILESDIR}/myi3lock"
+	dobin "${FILESDIR}/mylock-notifier-fade.sh"
+}
-- 
cgit v1.2.3