feat: add gh-dash
This commit is contained in:
parent
980f180b88
commit
c181b1c7af
2 changed files with 49 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
../modules/common-gui.nix
|
||||
../modules/linux-gui.nix
|
||||
../modules/devenv.nix
|
||||
../modules/gh-dash.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
|
|
|||
48
home-manager/modules/gh-dash.nix
Normal file
48
home-manager/modules/gh-dash.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{...}: {
|
||||
programs.gh-dash = {
|
||||
enable = true;
|
||||
settings = {
|
||||
prSections = [
|
||||
{
|
||||
title = "My Pull Requests";
|
||||
filters = "is:open author:@me";
|
||||
}
|
||||
{
|
||||
title = "Needs My Review";
|
||||
filters = "is:open review-requested:@me";
|
||||
limit = 20; # Limits How many are fetched
|
||||
}
|
||||
{
|
||||
title = "Nixvim";
|
||||
filters = "is:open repo:nix-community/nixvim";
|
||||
limit = 20; # Limits How many are fetched
|
||||
}
|
||||
];
|
||||
issuesSections = [
|
||||
{
|
||||
title = "Created";
|
||||
filters = "is:open author:@me";
|
||||
}
|
||||
{
|
||||
title = "Assigned";
|
||||
filters = "is:open assignee:@me";
|
||||
}
|
||||
{
|
||||
title = "Subscribed";
|
||||
filters = "is:open -author:@me";
|
||||
}
|
||||
];
|
||||
keybindings = {
|
||||
prs = [
|
||||
{
|
||||
key = "C";
|
||||
command = "tmux";
|
||||
}
|
||||
];
|
||||
};
|
||||
pager = {
|
||||
diff = "delta";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue