1.0 rel 2 wakuwaku

This commit is contained in:
Xilin Wu 2024-06-01 18:54:48 +08:00
parent 5e02103dbc
commit 1b4c657795
5 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,7 @@
pkgbase = ayn-odin2-conf
pkgdesc = Odin 2 customizations
pkgver = 1.0
pkgrel = 1
pkgrel = 2
arch = any
license = GPL
source = 80-no-wifi-powersave.conf

1
99-ayn-odin2.rules Normal file
View File

@ -0,0 +1 @@
SUBSYSTEM=="input", ATTRS{name}=="Ayn Odin2 Gamepad", MODE="0666", ENV{ID_INPUT_MOUSE}="0", ENV{ID_INPUT_JOYSTICK}="1"

View File

@ -1,6 +1,6 @@
pkgname=ayn-odin2-conf
pkgver=1.0
pkgrel=1
pkgrel=2
pkgdesc="Odin 2 customizations"
arch=('any')
license=('GPL')
@ -10,4 +10,7 @@ sha256sums=('SKIP')
package() {
# Install the configuration file
install -Dm644 "$srcdir"/80-no-wifi-powersave.conf "${pkgdir}/etc/NetworkManager/conf.d/80-no-wifi-powersave.conf"
install -Dm644 "$srcdir"/no-suspend.conf "${pkgdir}/etc/systemd/sleep.conf.d/no-suspend.conf"
install -Dm644 "$srcdir"/power-key-lock.conf "${pkgdir}/etc/systemd/logind.conf.d/power-key-lock.conf"
install -Dm644 "$srcdir"/99-ayn-odin2.rules "${pkgdir}/etc/udev/rules.d/99-ayn-odin2.rules"
}

4
no-suspend.conf Normal file
View File

@ -0,0 +1,4 @@
[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no

2
power-key-lock.conf Normal file
View File

@ -0,0 +1,2 @@
[Login]
HandlePowerKey=lock