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