Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwayOSD not working on SwayWM in NixOS. #100

Open
rachitve6h2g opened this issue Sep 10, 2024 · 1 comment
Open

SwayOSD not working on SwayWM in NixOS. #100

rachitve6h2g opened this issue Sep 10, 2024 · 1 comment

Comments

@rachitve6h2g
Copy link

rachitve6h2g commented Sep 10, 2024

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.

@ch4og
Copy link

ch4og commented Sep 24, 2024

https://github.com/nix-community/home-manager/blob/master/modules/services/swayosd.nix

home-manager.users.myuser = {
  services.swayosd.enable = true;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants