changed xbacklight to brightnessctl
parent
bf2e209641
commit
20d49dea9f
|
@ -63,6 +63,10 @@
|
||||||
interfaces.wlp1s0.useDHCP = true;
|
interfaces.wlp1s0.useDHCP = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
brightnessctl
|
||||||
|
];
|
||||||
|
|
||||||
# Powersaving
|
# Powersaving
|
||||||
services.tlp.enable = true;
|
services.tlp.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -142,9 +142,9 @@ XF86AudioPrev
|
||||||
playerctl -p "spotify,firefox" previous
|
playerctl -p "spotify,firefox" previous
|
||||||
|
|
||||||
XF86MonBrightnessDown
|
XF86MonBrightnessDown
|
||||||
xbacklight -dec 16
|
brightnessctl s 10%-
|
||||||
XF86MonBrightnessUp
|
XF86MonBrightnessUp
|
||||||
xbacklight -inc 16
|
brightnessctl s +10%
|
||||||
|
|
||||||
# Take a screenshot
|
# Take a screenshot
|
||||||
Print
|
Print
|
||||||
|
|
Loading…
Reference in New Issue