-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
Package request: mouse-actions #264904
Comments
Hi, I don't know how to contribute to nixpkgs yet so I made a flake with a working { lib, fetchFromGitHub, rustPlatform, pkg-config, virtualgl, xorg, libevdev }:
rustPlatform.buildRustPackage rec {
pname = "mouse-actions";
version = "v0.4.4";
src = fetchFromGitHub {
owner = "jersou";
repo = pname;
rev = version;
hash = "sha256-02E4HrKIoBV3qZPVH6Tjz9Bv/mh5C8amO1Ilmd+YO5g=";
};
cargoHash = "sha256-GRClGC6+3J/YW5jVh7iAb2idD6/PycG854XbBIkfB/c=";
buildInputs = [ xorg.libX11 xorg.libXi xorg.libXtst libevdev ];
nativeBuildInputs = [ pkg-config virtualgl ];
meta = with lib; {
# TODO: better description
description =
"A way to execute some commands from mouse events, a mix between Easystroke and Comiz edge commands";
homepage = "https://github.com/BurntSushi/ripgrep";
# TODO: license
license = licenses.unlicense;
# TODO: how to add myself as a maintainer? (rgri)
maintainers = [ ];
};
} Criticism is of course welcome. |
Use with regards to the meta info, you can use the upstream's meta info and add yourself to the maintainer list and make a separate commit for that then on your pull request, the commits would include you adding yourself to the maintainers and the nix expression for the package check the docs for more info and feel free to ask more questions |
Thanks for the advice! I've tried to follow all of it- I've opened #265056. |
Guys, question... in order to request the |
I don't have the answer to that, maybe someone else can comment on the precedent. Besides that, @waldman do you have a workflow/config using |
I use the "Mouse Gestures" functionality A LOT for tab management on my browsers:
Problem is that I believe on this app is almost impossible to craft the settings above on the configuration file without the GUI. I used |
can anyone comment about mouse-action and waylant compatibility ? the readme says it works in degraded mode but not sure how what that means |
Closing with the merge of #265056. |
Project description
mouse-actions allows to execute some commands from mouse events such as:
Metadata
The text was updated successfully, but these errors were encountered: