mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
729ee7dd43
commit
a3f692574b
2 changed files with 15 additions and 2 deletions
12
srcpkgs/betterlockscreen/patches/use-loginctl.patch
Normal file
12
srcpkgs/betterlockscreen/patches/use-loginctl.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- a/betterlockscreen
|
||||||
|
+++ b/betterlockscreen
|
||||||
|
@@ -965,6 +965,6 @@ done
|
||||||
|
# Activate lockscreen
|
||||||
|
[[ $runsuspend ]] || lockargs+=(-n)
|
||||||
|
[[ $runlock ]] && lockselect "$lockstyle" && \
|
||||||
|
- { [[ $runsuspend ]] && systemctl suspend; }
|
||||||
|
+ { [[ $runsuspend ]] && loginctl suspend; }
|
||||||
|
|
||||||
|
-exit 0
|
||||||
|
\ No newline at end of file
|
||||||
|
+exit 0
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'betterlockscreen'
|
# Template file for 'betterlockscreen'
|
||||||
pkgname=betterlockscreen
|
pkgname=betterlockscreen
|
||||||
version=4.0.3
|
version=4.0.3
|
||||||
revision=1
|
revision=2
|
||||||
depends="ImageMagick bash bc feh i3lock-color xdpyinfo xrandr xrdb xset"
|
depends="ImageMagick bash bc feh i3lock-color xdpyinfo xrandr xrdb xset"
|
||||||
short_desc="Sweet looking lockscreen for linux system"
|
short_desc="Sweet looking lockscreen for linux system"
|
||||||
maintainer="Aleksander Zien <Aleks@nderZien.com>"
|
maintainer="Aleksander Zien <Aleks@nderZien.com>"
|
||||||
|
@ -11,6 +11,7 @@ distfiles="https://github.com/pavanjadhaw/betterlockscreen/archive/refs/tags/v${
|
||||||
checksum=d96fd64f1c94c91fec5d26b9665ba68f7f130c8a8612978ad9edbfa859710671
|
checksum=d96fd64f1c94c91fec5d26b9665ba68f7f130c8a8612978ad9edbfa859710671
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin ${pkgname}
|
vbin betterlockscreen
|
||||||
|
vsconf examples/betterlockscreenrc
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue