fix: update gh-dash
This commit is contained in:
parent
f0ce1b7d6c
commit
8541178dca
1 changed files with 18 additions and 3 deletions
|
|
@ -2,6 +2,19 @@
|
||||||
programs.gh-dash = {
|
programs.gh-dash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
defaults = {
|
||||||
|
prsLimit = 20;
|
||||||
|
issuesLimit = 20;
|
||||||
|
layout = {
|
||||||
|
prs = {
|
||||||
|
repo = {
|
||||||
|
grow = true;
|
||||||
|
width = 10;
|
||||||
|
hidden = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
prSections = [
|
prSections = [
|
||||||
{
|
{
|
||||||
title = "My Pull Requests";
|
title = "My Pull Requests";
|
||||||
|
|
@ -10,12 +23,10 @@
|
||||||
{
|
{
|
||||||
title = "Needs My Review";
|
title = "Needs My Review";
|
||||||
filters = "is:open review-requested:@me";
|
filters = "is:open review-requested:@me";
|
||||||
limit = 20; # Limits How many are fetched
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
title = "Nixvim";
|
title = "Nixvim";
|
||||||
filters = "is:open repo:nix-community/nixvim";
|
filters = "is:open repo:nix-community/nixvim";
|
||||||
limit = 20; # Limits How many are fetched
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
issuesSections = [
|
issuesSections = [
|
||||||
|
|
@ -32,11 +43,15 @@
|
||||||
filters = "is:open -author:@me";
|
filters = "is:open -author:@me";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
repoPaths = {
|
||||||
|
"NixOS/nixpkgs" = "~/repos/nix/nixpkgs";
|
||||||
|
"nix-community/*" = "~/repos/nix-community/*";
|
||||||
|
};
|
||||||
keybindings = {
|
keybindings = {
|
||||||
prs = [
|
prs = [
|
||||||
{
|
{
|
||||||
key = "C";
|
key = "C";
|
||||||
command = "tmux";
|
command = "tmux split-window -h -c {{.RepoPath}} 'gh pr checkout {{.PrNumber}} && nvim -c \":Octo pr edit {{.PrNumber}}\"'";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue