This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from hyprland-community/v1.0.2
v1.0.2
- Loading branch information
Showing
13 changed files
with
851 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# TODO | ||
|
||
- [x] Format keybinds better, maybe with a proper table | ||
- [x] Remove the `+` in the keybinds that don't have modifiers | ||
- [x] Add an extra column to mouse keybinds to match table titles | ||
- [x] Optionally (--variables) parse variables and replace them with their actual value | ||
- [x] Account for bind flags, that may be passed in any random order | ||
- [x] Figure out a regex to match the flags | ||
- [x] Figure out why the regex doesn't work | ||
- [x] Account for line comments in rows | ||
- [x] Break code into multiple files | ||
- [x] move command line parsing to a separate file | ||
- [ ] Command line options | ||
- [ ] Sort output by dispatcher | ||
- [x] Account for multiple arguments being passed at once | ||
- [ ] Somehow account for keybinds can be set dynamically? (I don't know how to do this) | ||
- [ ] Add instructions for a pipe to `hyprkeys` to get the keybinds from | ||
- [ ] Convert i3/sway keybinds to Hyprland keybinds with `--convert` | ||
- [ ] Possibly more wayland compositors, sway is enough for now. | ||
- [x] Get more than just keybinds, try and get all config options seperated by section | ||
- [x] Config sections | ||
- [x] Autostarted applications | ||
- [x] Keywords from inside `hyprland.conf` | ||
- [ ] **Packaging for various Linux distros** | ||
- [ ] Nix (WIP) | ||
- [x] Flake | ||
- [ ] Legacy nixpkgs package | ||
- [ ] Arch (looking for maintainers) | ||
- [ ] Fedora (looking for maintainers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
buildGoModule, | ||
nix-filter, | ||
lib, | ||
... | ||
}: | ||
buildGoModule { | ||
pname = "Hyprkeys"; | ||
version = "1.0.2"; | ||
src = nix-filter.lib { | ||
root = ./.; | ||
exclude = [ | ||
./README.md | ||
./out.md | ||
./out.json | ||
./.github | ||
]; | ||
}; | ||
|
||
ldflags = ["-s" "-w"]; | ||
vendorHash = "sha256-JFvC9V0xS8SZSdLsOtpyTrFzXjYAOaPQaJHdcnJzK3s="; | ||
|
||
doCheck = true; | ||
|
||
preFixup = '' | ||
mkdir -p completions | ||
$out/bin/hyprkeys completions zsh > completions/hyprkeys.zsh | ||
$out/bin/hyprkeys completions bash > completions/hyprkeys.bash | ||
$out/bin/hyprkeys completions fish > completions/hyprkeys.fish | ||
installShellCompletion completions/* | ||
''; | ||
|
||
meta = with lib; { | ||
description = "A simple, scriptable keybind retrieval utility for Hyprland."; | ||
homepage = "https://github.com/hyprland-community/Hyprkeys"; | ||
maintainers = with maintainers; [NotAShelf]; | ||
mainProgram = "hyprkeys"; | ||
platforms = ["x86_64-linux" "aarch64-linux"]; | ||
}; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.