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