summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-09-16 21:08:57 +0200
committerKarel Kočí <cynerd@email.cz>2020-09-16 21:08:57 +0200
commit10ec029d72a0ca3365d6fb1a22fec3d67d9fc279 (patch)
tree6c857707fb75204874829a343af4144e46b29dbe /x11-misc
parentdb132b88a89ebe402e9e8726744802d197be48a0 (diff)
downloadgentoo-personal-overlay-10ec029d72a0ca3365d6fb1a22fec3d67d9fc279.tar.gz
gentoo-personal-overlay-10ec029d72a0ca3365d6fb1a22fec3d67d9fc279.tar.bz2
gentoo-personal-overlay-10ec029d72a0ca3365d6fb1a22fec3d67d9fc279.zip
x11-misc/myi3lock: try to use different dmps instead just force off
Diffstat (limited to 'x11-misc')
-rwxr-xr-xx11-misc/myi3lock/files/myi3lock4
-rw-r--r--x11-misc/myi3lock/myi3lock-1.3.1-r1.ebuild (renamed from x11-misc/myi3lock/myi3lock-1.3-r1.ebuild)0
2 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/myi3lock/files/myi3lock b/x11-misc/myi3lock/files/myi3lock
index ec0536d..9bc6126 100755
--- a/x11-misc/myi3lock/files/myi3lock
+++ b/x11-misc/myi3lock/files/myi3lock
@@ -5,12 +5,14 @@ if [ "$1" != "--login" ]; then
# Set pidgin to offline
purple-remote 'setstatus?status=offline'
# Power off screen
- xset dpms force off
+ xset dpms 1 2 10
fi
# Run lock
i3lock -n -c 000000 -i "$(shuf -n1 -e "$BACKS"/*)"
+xset dpms 0 0 0
+
if [ "$1" != "--login" ]; then
# Set pidgin to available
purple-remote 'setstatus?status=available'
diff --git a/x11-misc/myi3lock/myi3lock-1.3-r1.ebuild b/x11-misc/myi3lock/myi3lock-1.3.1-r1.ebuild
index 9b8caa0..9b8caa0 100644
--- a/x11-misc/myi3lock/myi3lock-1.3-r1.ebuild
+++ b/x11-misc/myi3lock/myi3lock-1.3.1-r1.ebuild