diff options
author | Karel Kočí <cynerd@email.cz> | 2020-09-17 10:10:42 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-09-17 10:10:42 +0200 |
commit | 6f0a8ff38b962d2166c186707103fd18e0b5d353 (patch) | |
tree | e9154fefe440f6762b6f9d655e010c4b8e9186b6 /x11-misc/myi3lock | |
parent | 10ec029d72a0ca3365d6fb1a22fec3d67d9fc279 (diff) | |
download | gentoo-personal-overlay-6f0a8ff38b962d2166c186707103fd18e0b5d353.tar.gz gentoo-personal-overlay-6f0a8ff38b962d2166c186707103fd18e0b5d353.tar.bz2 gentoo-personal-overlay-6f0a8ff38b962d2166c186707103fd18e0b5d353.zip |
x11-misc/myi3lock: even more tweaks
Diffstat (limited to 'x11-misc/myi3lock')
-rwxr-xr-x | x11-misc/myi3lock/files/myi3lock | 7 | ||||
-rw-r--r-- | x11-misc/myi3lock/myi3lock-1.3.2-r1.ebuild (renamed from x11-misc/myi3lock/myi3lock-1.3.1-r1.ebuild) | 0 |
2 files changed, 3 insertions, 4 deletions
diff --git a/x11-misc/myi3lock/files/myi3lock b/x11-misc/myi3lock/files/myi3lock index 9bc6126..0572cbc 100755 --- a/x11-misc/myi3lock/files/myi3lock +++ b/x11-misc/myi3lock/files/myi3lock @@ -4,16 +4,15 @@ BACKS="/usr/share/backgrounds" if [ "$1" != "--login" ]; then # Set pidgin to offline purple-remote 'setstatus?status=offline' - # Power off screen - xset dpms 1 2 10 + xset +dpms dpms 5 5 5 + ( sleep 3; xset dpms force off ) & fi # Run lock i3lock -n -c 000000 -i "$(shuf -n1 -e "$BACKS"/*)" -xset dpms 0 0 0 - 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.3.1-r1.ebuild b/x11-misc/myi3lock/myi3lock-1.3.2-r1.ebuild index 9b8caa0..9b8caa0 100644 --- a/x11-misc/myi3lock/myi3lock-1.3.1-r1.ebuild +++ b/x11-misc/myi3lock/myi3lock-1.3.2-r1.ebuild |