freeze refactor
This commit is contained in:
9
freeze/systemd-utils/dell-xps13-7390/powertop.service
Executable file
9
freeze/systemd-utils/dell-xps13-7390/powertop.service
Executable file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Powertop tunings
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/powertop --auto-tune
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
8
freeze/systemd-utils/macbook_pro13/backlight-control.service
Executable file
8
freeze/systemd-utils/macbook_pro13/backlight-control.service
Executable file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Enables the gmux backlighting. This is a non-standard NVIDIA issue on Macbooks
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/bash -c 'setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0; gmux_backlight 400'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
8
freeze/systemd-utils/macbook_pro13/suppress-gpe.service
Executable file
8
freeze/systemd-utils/macbook_pro13/suppress-gpe.service
Executable file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Disables GPE 66, an interrupt that is going crazy on Macs
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/bash -c 'echo "disable" > /sys/firmware/acpi/interrupts/gpe16; echo "disable" > /sys/firmware/acpi/interrupts/gpe17;'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
7
freeze/systemd-utils/macbook_pro13/suspend-fix.service
Executable file
7
freeze/systemd-utils/macbook_pro13/suspend-fix.service
Executable file
@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Disables magnetic sensor wakeup, allowing arch to sleep
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "echo XHC! > /proc/acpi/wakeup && echo LID0 > /proc/acpi/wakeup"
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user