Fix brightness and enable natural scrolling (touchpad)
This commit is contained in:
parent
6db6e2aed7
commit
f8a4c51300
@ -21,7 +21,7 @@ with deviceSpecific; {
|
||||
script =
|
||||
''
|
||||
${pkgs.linuxPackages_latest.cpupower}/bin/cpupower frequency-set -g powersave
|
||||
echo "500" > /sys/class/backlight/*/brightness
|
||||
${pkgs.light}/bin/light -S 40
|
||||
'' + (if !isSSD then ''
|
||||
${pkgs.hdparm}/bin/hdparm -B 1 /dev/sda
|
||||
'' else "");
|
||||
@ -32,7 +32,7 @@ with deviceSpecific; {
|
||||
script =
|
||||
''
|
||||
${pkgs.linuxPackages_latest.cpupower}/bin/cpupower frequency-set -g performance
|
||||
echo "900" > /sys/class/backlight/*/brightness
|
||||
${pkgs.light}/bin/light -S 90
|
||||
'' + (if !isSSD then ''
|
||||
${pkgs.hdparm}/bin/hdparm -B 255 /dev/sda
|
||||
'' else "");
|
||||
|
@ -11,7 +11,7 @@ with deviceSpecific; {
|
||||
enable = isLaptop;
|
||||
sendEventsMode = "disabled-on-external-mouse";
|
||||
middleEmulation = false;
|
||||
# naturalScrolling = true;
|
||||
naturalScrolling = true;
|
||||
};
|
||||
|
||||
# TODO: make settings for laptops with dGPU
|
||||
|
Loading…
x
Reference in New Issue
Block a user