From e0c724f14042bd90b9eb5687a351c9945b74fc9b Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 13 Mar 2026 16:31:58 +0530 Subject: Moving to xremap for shortcuts from sxhkd. Added the basic configs --- modules/desktop/xremap/keybindings/brightnessctl.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 modules/desktop/xremap/keybindings/brightnessctl.nix (limited to 'modules/desktop/xremap/keybindings/brightnessctl.nix') diff --git a/modules/desktop/xremap/keybindings/brightnessctl.nix b/modules/desktop/xremap/keybindings/brightnessctl.nix new file mode 100644 index 0000000..b2f39cb --- /dev/null +++ b/modules/desktop/xremap/keybindings/brightnessctl.nix @@ -0,0 +1,18 @@ +{ pkgs }: + +{ + "XF86MonBrightnessDown" = { + launch = [ + "${pkgs.brightnessctl}/bin/brightnessctl" + "set" + "5%-" + ]; + }; + "XF86MonBrightnessUp" = { + launch = [ + "${pkgs.brightnessctl}/bin/brightnessctl" + "set" + "+5%" + ]; + }; +} -- cgit v1.2.3