diff --git a/home-manager/sway/default.nix b/home-manager/sway/default.nix index 4a02ff7..93e2851 100644 --- a/home-manager/sway/default.nix +++ b/home-manager/sway/default.nix @@ -58,6 +58,8 @@ in ]; }; + services.swayosd.enable = true; + wayland.windowManager.sway = { enable = true; @@ -118,6 +120,13 @@ in "${modifier}+Shift+s" = "exec shotman --capture region --copy"; "${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"; + + "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"; }; assigns = {