nix/home/config/sway/module/Brightness.nix

9 lines
181 B
Nix
Raw Normal View History

{ config, ... }: let
2024-08-20 20:24:43 +03:00
step = 5;
2024-04-06 03:03:58 +03:00
in {
text = ''
2024-06-23 04:55:57 +03:00
bindsym XF86MonBrightnessDown exec light -U ${toString step}
bindsym XF86MonBrightnessUp exec light -A ${toString step}
2024-04-06 03:03:58 +03:00
'';
}