diff --git a/sway/default.nix b/sway/default.nix index f583d3d..4f97e3a 100644 --- a/sway/default.nix +++ b/sway/default.nix @@ -126,12 +126,16 @@ in "${modifier}+l" = "exec ${lock_command}"; "${modifier}+Shift+m" = "output '*' power off, output '*' power on, exec ${pkgs.kanshi}/bin/kanshictl reload"; - "--release Caps_Lock" = "exec swayosd --caps-lock"; + "--release Caps_Lock" = "exec swayosd-client --caps-lock"; + "--release Num_Lock" = "exec swayosd-client --num-lock"; - "XF86AudioRaiseVolume" = "exec swayosd --output-volume raise"; - "XF86AudioLowerVolume" = "exec swayosd --output-volume lower"; - "XF86AudioMute" = "exec swayosd --output-volume mute-toggle"; - "XF86AudioMicMute" = "exec swayosd --input-volume mute-toggle"; + "XF86AudioRaiseVolume" = "exec swayosd-client --output-volume raise"; + "XF86AudioLowerVolume" = "exec swayosd-client --output-volume lower"; + "XF86AudioMute" = "exec swayosd-client --output-volume mute-toggle"; + "XF86AudioMicMute" = "exec swayosd-client --input-volume mute-toggle"; + + "XF86MonBrightnessUp" = "exec swayosd-client --brightness raise"; + "XF86MonBrightnessDown" = "exec swayosd-client --brightness lower"; }; startup = [