Laptop control, udev rules, xorg configs, README

This commit is contained in:
2021-11-09 15:00:53 +00:00
parent d3e2e9bab2
commit 61a54ec64c
8 changed files with 142 additions and 1 deletions

View File

@@ -1,3 +1,18 @@
# legion-7
Repository with various scripts/configs for Arch Linux on the Lenovo Legion 7 (2021)
Repository with various scripts/configs for Arch Linux on the Lenovo Legion 7 (2021).
Scripts in the `bin` folder should be placed in `/usr/local/bin` or a similar directory and given execute permissions.
- `brightness_up` and `brightness_down`: See which GPU is connected and control brightness using ACPI
- `conservation_mode`: Toggle battery conservation mode which limits charge to 60% to preserve its health
- `power_saving_mode`: Change CPU governor, brightness, and refresh rate to extend battery life
Files in the `udev` folder should be placed in `/etc/udev/rules.d` and owned by `root`.
- `backlight.rules`: Gives normal users access to backlight controls
- `touchpad_input.rules`: Maps the touchpad's variable `/dev/input/event*` path to the static `/dev/input/touchpad` for VFIO passthrough
FIles in the `xorg` folder should be placed in `/etc/X11/xorg.conf.d` and owned by `root`.
- `10-monitor.conf`: Enables 165Hz on boot.