migrations: keep system helpers sudo-compatible
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
# but produce no visible change; brightness is effectively binary.
|
||||
|
||||
if omarchy-hw-asus-expertbook-b9406 || omarchy-hw-asus-zenbook-ux5406aa; then
|
||||
mkdir -p /etc/limine-entry-tool.d
|
||||
cat > /etc/limine-entry-tool.d/asus-ptl-display-backlight.conf <<'EOF'
|
||||
sudo mkdir -p /etc/limine-entry-tool.d
|
||||
sudo tee /etc/limine-entry-tool.d/asus-ptl-display-backlight.conf >/dev/null <<'EOF'
|
||||
# ASUS Panther Lake display backlight fix
|
||||
KERNEL_CMDLINE[default]+=" xe.enable_dpcd_backlight=1"
|
||||
EOF
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
# so dwt can properly pair it with the keyboard.
|
||||
|
||||
if omarchy-hw-asus-rog && omarchy-hw-match "GZ302"; then
|
||||
mkdir -p /etc/udev/rules.d
|
||||
cat > /etc/udev/rules.d/99-omarchy-asus-z13-touchpad.rules <<'EOF'
|
||||
sudo mkdir -p /etc/udev/rules.d
|
||||
sudo tee /etc/udev/rules.d/99-omarchy-asus-z13-touchpad.rules >/dev/null <<'EOF'
|
||||
ACTION=="add|change", KERNEL=="event*", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1a30", ENV{ID_INPUT_TOUCHPAD}=="1", ENV{ID_INPUT_TOUCHPAD_INTEGRATION}="internal"
|
||||
EOF
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user