betterlockscreen: update to 4.4.0.

This commit is contained in:
Sébastien Pondichy 2024-11-01 09:14:01 +01:00 committed by classabbyamp
parent 7f8f137359
commit 1b8cd43687
2 changed files with 26 additions and 9 deletions

View File

@ -1,10 +1,27 @@
diff --git a/betterlockscreen b/betterlockscreen
index 0b92ad9..fdd7b60 100755
--- a/betterlockscreen
+++ b/betterlockscreen
@@ -968,6 +968,6 @@ echof header "Betterlockscreen"
# Activate lockscreen
[[ $runsuspend ]] || lockargs+=(-n)
[[ $runlock ]] && lockselect "$lockstyle" && \
- { [[ $runsuspend ]] && systemctl suspend; }
+ { [[ $runsuspend ]] && loginctl suspend; }
@@ -20,7 +20,7 @@ init_config () {
description=""
quiet=false
i3lockcolor_bin="i3lock-color"
- suspend_command="systemctl suspend"
+ suspend_command="loginctl suspend"
convert_command="magick"
composite_command="magick composite"
diff --git a/examples/betterlockscreenrc b/examples/betterlockscreenrc
index 84e355c..ed69e66 100644
--- a/examples/betterlockscreenrc
+++ b/examples/betterlockscreenrc
@@ -43,7 +43,7 @@ bgcolor=000000ff
#
# i3lockcolor_bin="i3lock-color" # Manually set command for i3lock-color
-# suspend_command="systemctl suspend" # Manually change action e.g. hibernate/suspend-command
+# suspend_command="loginctl suspend" # Manually change action e.g. hibernate/suspend-command
# i3lock-color - custom arguments
# lockargs=() # overwriting default "(-n)"
exit 0

View File

@ -1,6 +1,6 @@
# Template file for 'betterlockscreen'
pkgname=betterlockscreen
version=4.0.4
version=4.4.0
revision=1
depends="ImageMagick bash bc feh i3lock-color xdpyinfo xrandr xrdb xset"
short_desc="Sweet looking lockscreen for linux system"
@ -8,7 +8,7 @@ maintainer="Aleksander Zien <Aleks@nderZien.com>"
license="MIT"
homepage="https://github.com/pavanjadhaw/betterlockscreen"
distfiles="https://github.com/pavanjadhaw/betterlockscreen/archive/refs/tags/v${version}.tar.gz"
checksum=608b56989eea0b45c0f88bdc9e3c7742430f809a1bcd60d558eb6af99aeecc91
checksum=fdcf58725f0ab56e98ce9b83bd1dad6e1f08c7f9f230c3abaf4191f10ebd5dfd
do_install() {
vbin betterlockscreen