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

bug: foot: not straightforward to duplicate keybinds #5873

Open
2 tasks done
losnappas opened this issue Sep 20, 2024 · 0 comments
Open
2 tasks done

bug: foot: not straightforward to duplicate keybinds #5873

losnappas opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@losnappas
Copy link

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

Foot terminal module takes settings like

programs.foot.settings = {
  keybinds = {
    pipe-command-output = "[some-command] Control+a";
  };
};

However, as stated here https://codeberg.org/dnkl/foot/issues/1842#issuecomment-2322691 , user can bind the same key multiple times in the settings, like

pipe-command-output=[sh -c "cat - | wl-copy"] Control+bracketleft
pipe-command-output=[sh -c "tac - | wl-copy"] Control+bracketright

There's no extraConfig, so my workaround is

keybinds = {
pipe-command-output = ''[sh -c "cat - | wl-copy"] Control+bracketleft
pipe-command-output=[sh -c "tac - | wl-copy"] Control+bracketright'';
};

I don't think it's a biggy, I'm reporting in case someone else comes searching.

Maintainer CC

No response

System information

-
@losnappas losnappas added bug triage Issues or feature request that have not been triaged yet labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

4 participants