device-nokia-n900: use elogind for suspend (MR 4312)
Since 80ab66cd2a
(MR 4179), suspend using `loginctl` works, so drop pm-utils
and the associated sudo rule.
This commit is contained in:
parent
e702458223
commit
61951f08e7
3 changed files with 4 additions and 10 deletions
|
@ -1,2 +0,0 @@
|
|||
%wheel ALL = NOPASSWD: /usr/sbin/pm-suspend
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Sicelo <absicsz@gmail.com>
|
||||
# Co-Maintainer: Danct12 <danct12@disroot.org>
|
||||
pkgname=device-nokia-n900
|
||||
pkgver=9.1.3
|
||||
pkgver=9.1.4
|
||||
pkgrel=0
|
||||
pkgdesc="Nokia N900"
|
||||
url="https://postmarketos.org"
|
||||
|
@ -20,7 +20,6 @@ subpackages="
|
|||
source="
|
||||
10-initfs-keymap.files
|
||||
10-initfs-keymap.sh
|
||||
10-noroot-suspend
|
||||
acpi.map
|
||||
acpi_handler.sh
|
||||
asound.state.headset
|
||||
|
@ -143,7 +142,7 @@ xkeyboard_config() {
|
|||
|
||||
i3wm() {
|
||||
install_if="$pkgname postmarketos-ui-i3wm"
|
||||
depends="unclutter-xfixes feh pm-utils i3blocks rxvt-unicode"
|
||||
depends="unclutter-xfixes feh i3blocks rxvt-unicode"
|
||||
install -D -m644 "$srcdir"/i3wm.conf \
|
||||
"$subpkgdir"/etc/skel/.config/i3/config
|
||||
install -D -m644 "$srcdir"/i3blocks.conf \
|
||||
|
@ -158,8 +157,6 @@ i3wm() {
|
|||
"$subpkgdir"/etc/skel/.config/i3blocks/wifi
|
||||
install -D -m755 "$srcdir"/protip_shell.sh \
|
||||
"$subpkgdir"/etc/skel/.protip_shell.sh
|
||||
install -D -m440 "$srcdir"/10-noroot-suspend \
|
||||
"$subpkgdir"/etc/sudoers.d/10-noroot-suspend
|
||||
install -D -m644 "$srcdir"/xdefaults \
|
||||
"$subpkgdir"/etc/skel/.Xdefaults
|
||||
}
|
||||
|
@ -176,7 +173,6 @@ nonfree_firmware() {
|
|||
sha512sums="
|
||||
6b475c12eca8563be48c562a1cb4ad8ca6a05d70fc54b21288b2dd7435a80a6f53351aa870db96d5bbecf1b1c5cb00dfe35f5066e6d3fd0ad0369e66aeef5a21 10-initfs-keymap.files
|
||||
4656d3b3ced0a86e2d6315c89322899f646a689e9cb64609aa8ad5a676b23d93706d8a37f3be6f6b12c6b1e8501b7d26ecafecf27322333850513a6805c61910 10-initfs-keymap.sh
|
||||
38ecdf876b5aa9df2e5ea61c7ebb6f9ca871bdf433029808d028d563dfd740232b3dc21dba098a7622453212af1272e2e782be861b4a96a49fd475a618442d45 10-noroot-suspend
|
||||
b3612348af1465c6dc21ce30153fc7e2cce3ae7f9bf9ff34d5a560e173e174275c1701dd7c45337fa56caaadb252b9494bddf997a698d665d3a8c01cde6955c7 acpi.map
|
||||
ac2f8a50280f7d5f8c5ce3ab50d00f1a4c8c1415890347542c684b6e24874a23d57a8f48c62451c46466996decc58276d737bdb892f8b284881d3760948b09bb acpi_handler.sh
|
||||
5b87071834313a389f83d29f86f6e3ea108d0921f17dc918be7a46de7e74c73a4418044ef600a0fbf72c8fad22b7730dcd5bfe3d6d01d76bf01556f8540f0b32 asound.state.headset
|
||||
|
@ -186,7 +182,7 @@ e6bbac8de1a198ba716f44ade76606e1e0adcc574156b855ac41be5eb5308389d3277fd89cc34b11
|
|||
2463008d270ed09342f15b51f24ea455bd884021f95397991b85616b6840a6608d91cd1fc43186094f5c3d1bd25e88c16aa9ead07b018aea3d93cd2359bba0b1 deviceinfo
|
||||
f90dcdd310595adf9e00f1eb1032461bd1666fff21eb18615f8e9ef48fff4f872abd3ca7c765fab50957b056a30330e49b5d1e399fc8690f4f9735ccc0eec145 modules-initfs
|
||||
826a3790b49324c1e61c75b6c0ffc043a2a1d7c13a8c554fb5eae4977af47a1ca93d70ef8c783d712b953b70e18ae58fa4c6a49bf97263398a01a0c4f91ebc8f i3blocks.conf
|
||||
bc30690e667b7d9e1dc8eba3d214164c84eca39551872683d050cae106b207db058b6aae10c21f2dc855c83a0b82665167805865980071b4d50a4c205f14777d i3wm.conf
|
||||
c8512bb9fd77b265d89ceb25c7a5ee1eac379b2433eb6e6255908b9cd0c27da768258b37d1dde4be3997c9ab50002a787d07f32e4f9b62d3165cfa6f11372826 i3wm.conf
|
||||
0b80af9fd1f36e6bc06bdfdf48352897234ac7457210649016665da8570a5a64b8a0841b4fbeb64fd7054a5246a64718cf4412f8a53024ce39b28a80984972d8 protip_shell.sh
|
||||
2ae4771eda9b151de3b47dc4e3081eb86b92fc04c4be4b4fbb98c28016762d24008e935bbba8f95ea0732019f615ee43f5d93dacb21bdc3471e505a07a684e26 battery-bq27200
|
||||
d9ef88c714e9fce8822f63b7a9d7fc3e1ed472c8c876b44ba524d44efea322839f13ddd2fa652420608427ecf7279bfaac302c9b67667f32796ca21da332164d calendar
|
||||
|
|
|
@ -64,7 +64,7 @@ bindsym Shift+space mode "command"
|
|||
bindsym XF86ScreenSaver exec --no-startup-id lock.sh
|
||||
|
||||
# Pressing the power button suspends the device
|
||||
bindsym XF86PowerOff exec --no-startup-id sudo pm-suspend
|
||||
bindsym XF86PowerOff exec --no-startup-id loginctl suspend
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
|
|
Loading…
Reference in a new issue