#!/bin/bash # hardware install intel-media-driver intel-ucode mesa sof-firmware # brightness install brightnessctl file_has_line "/etc/profile" "export FEAT_BRIGHTNESS=brightnessctl" # power install tlp systemctl enable tlp --now cp_chown custom/_laptop.sh.yrz.am/tlp.conf /etc/tlp.conf root:root 644 systemctl restart tlp