From f7d85fc590da43c8ad31d97b1da2b4119bbb0dd5 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sun, 27 Aug 2023 04:21:25 +0200 Subject: [PATCH] Fix brightnessctl --- modules/desktop/sway.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index edaf249..f41d337 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -52,8 +52,8 @@ "Mod4+Control+Shift+l" = "move workspace to output right"; # Brightness - "XF86MonBrightnessUp" = "exec brightnessctl set +5%"; - "XF86MonBrightnessDown" = "exec brightnessctl set -5%"; + "XF86MonBrightnessUp" = "exec brightnessctl set 5%+"; + "XF86MonBrightnessDown" = "exec brightnessctl set 5%-"; # Volume "XF86AudioRaiseVolume" = "exec 'wpctl set-volume --limit=1.5 @DEFAULT_AUDIO_SINK@ 2%+'";