move broot to its own file

This commit is contained in:
Salar Rahmanian 2024-11-10 11:28:58 -08:00
parent cbeb9fd9ea
commit ed6a9a88bf
3 changed files with 26 additions and 20 deletions

View file

@ -111,26 +111,6 @@
enable = true;
};
programs.broot = {
enable = true;
enableFishIntegration = true;
settings = {
modal = true;
verbs = [
{
invocation = "panel_right";
key = "alt-right";
internal = ":panel_right";
}
{
invocation = "panel_left_no_open";
key = "alt-left";
internal = ":panel_left_no_open";
}
];
};
};
programs.btop = {
enable = true;
};

View file

@ -0,0 +1,25 @@
{ config, pkgs, ... }:
let
myverbs = [
{
invocation = "panel_right";
key = "alt-right";
internal = ":panel_right";
}
{
invocation = "panel_left_no_open";
key = "alt-left";
internal = ":panel_left_no_open";
}
];
in
{
programs.broot = {
enable = true;
enableFishIntegration = true;
settings = {
modal = true;
verbs = myverbs;
};
};
}

View file

@ -1,4 +1,5 @@
[
./broot
./fish
./git
./tmux