SwayOSD
SwayOSD copied to clipboard
SwayOSD not working on SwayWM in NixOS.
XF86AudioMute is not working with swayosd-client --output-volume mute-toggle does not work. To test it, I bound the sane key using wpctl, and it worked. However the mute button (the only button) does not work with swayosd. Here is my configuration with home.nix
{
wayland.windowManager.sway = {
enable = true;
.....
config.keybindings = {
.....
"--locked XF86AudioRaiseVolume" = "exec swayosd-client --output-volume mute-toggle";
};
};
};
The translation done by Nix is perfectly fine and as mentioned on the main page.
https://github.com/nix-community/home-manager/blob/master/modules/services/swayosd.nix
home-manager.users.myuser = {
services.swayosd.enable = true;
}