Add sxhkd to control brightness keys
All checks were successful
/ check (push) Successful in 2m4s

This commit is contained in:
Oliver Davies 2025-05-25 08:49:39 +01:00
parent 08a81b2b66
commit 767f6af615
2 changed files with 11 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ config, options, ... }:
{ config, lib, options, pkgs, ... }:
{
imports = [ ../common ];
@ -109,4 +109,12 @@
098EE055DAD2B9CB68154C6759DD38292D2273B6
1E21B58D69FFEFAD077F152A50FEA938A3413F50
'';
services.sxhkd = {
enable = true;
keybindings = {
"{_,shift + ,super + }XF86MonBrightness{Down,Up}" = "${lib.getExe pkgs.brightnessctl} set {5%-,10%-,10%,+5%,+10%,100%}";
};
};
}