aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/xremap/keybindings/brightnessctl.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@proton.me>2026-03-13 16:31:58 +0530
committerArpit Chakladar <arpitchakladar@proton.me>2026-03-13 16:31:58 +0530
commite0c724f14042bd90b9eb5687a351c9945b74fc9b (patch)
tree69a28737123f0db807b4522688e90817a6c555bf /modules/desktop/xremap/keybindings/brightnessctl.nix
parentd0936afa8fea372bc2d3114499ad10d354089c38 (diff)
downloadhome-manager-config-e0c724f14042bd90b9eb5687a351c9945b74fc9b.tar.gz
home-manager-config-e0c724f14042bd90b9eb5687a351c9945b74fc9b.zip
Moving to xremap for shortcuts from sxhkd. Added the basic configs
Diffstat (limited to 'modules/desktop/xremap/keybindings/brightnessctl.nix')
-rw-r--r--modules/desktop/xremap/keybindings/brightnessctl.nix18
1 files changed, 18 insertions, 0 deletions
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%"
+ ];
+ };
+}