Set governor and brightness in X

This commit is contained in:
Santiago Lo Coco 2022-03-25 09:00:14 -03:00
parent f48e29c7a5
commit 6e588a6815
1 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,12 @@ picom &
if [[ -v LAPTOP ]]; then
# Enable automatic fan control
macfanctld
# Set brightness
xbacklight -set 45
# Set the governor
sudo ~/.local/bin/setGovernor > /dev/null &
else
# Faster scrolling
imwheel -b 45