From dff7b29b1dae02e64876f75e69ff8394836949f8 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 25 Jul 2021 16:28:06 +0200 Subject: [PATCH] home: i3: add brightness shortcuts --- home/x/i3.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/x/i3.nix b/home/x/i3.nix index cb87d93..a7f9ccc 100644 --- a/home/x/i3.nix +++ b/home/x/i3.nix @@ -87,6 +87,9 @@ in "XF86AudioMute" = "exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle"; "XF86AudioMicMute" = "exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle"; + "XF86MonBrightnessDown" = "exec --no-startup-id light -U 5"; + "XF86MonBrightnessUp" = "exec --no-startup-id light -A 5"; + "${modifier}+l" = "exec --no-startup-id betterlockscreen --lock"; };