aboutsummaryrefslogtreecommitdiff
path: root/modules/terminal/hjem
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-04-02 16:18:29 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-04-02 16:18:29 -0500
commit48a837a91959efbc7da7f98447c50f32b4ee7c94 (patch)
tree0b17514bd37b6de76a8a497ef3ac3d6bf696ae53 /modules/terminal/hjem
parent871c22cae2ef84694502fde290838bb24432a1f4 (diff)
jta, other changes
Diffstat (limited to 'modules/terminal/hjem')
-rw-r--r--modules/terminal/hjem/programs/broot.nix33
1 files changed, 27 insertions, 6 deletions
diff --git a/modules/terminal/hjem/programs/broot.nix b/modules/terminal/hjem/programs/broot.nix
index d382cbe..8678551 100644
--- a/modules/terminal/hjem/programs/broot.nix
+++ b/modules/terminal/hjem/programs/broot.nix
@@ -13,12 +13,20 @@
default_flags = "-g";
icon_theme = "nerdfont";
- special_paths."~/.config".show = "always";
+ special_paths = {
+ "~/ganymede" = {
+ show = "never";
+ list = "never";
+ sum = "never";
+ };
+ "~/.config".show = "always";
+ };
verbs = [
{
- name = "open-code";
+ name = "edit";
key = "enter";
+ invocation = "e";
execution = "$EDITOR +{line} {file}";
working_dir = "{root}";
apply_to = "file";
@@ -27,17 +35,22 @@
{
name = "lazygit";
key = "ctrl-g";
+ invocation = "lazygit";
execution = "lazygit";
working_dir = "{root}";
- apply_to = "any";
+ leave_broot = false;
+ }
+ {
+ invocation = "opencode {extraargs}";
+ execution = "opencode {extraargs}";
+ working_dir = "{root}";
leave_broot = false;
}
{
name = "justfile";
key = "ctrl-j";
- execution = "${pkgs.just}/bin/just --choose";
+ execution = ''just --choose --chooser "fzf --height=25% --color=bg:-1 --preview 'just --show {}'"'';
working_dir = "{root}";
- apply_to = "any";
leave_broot = false;
}
{
@@ -48,7 +61,15 @@
leave_broot = false;
}
{
- name = "home";
+ key = "alt-enter";
+ execution = "swaymsg exec -- foot -D '{root}' fish -c 'br'";
+ leave_broot = false;
+ }
+ {
+ key = "ctrl-a";
+ internal = "toggle_stage";
+ }
+ {
key = "ctrl-h";
cmd = ":input_clear;:focus ~";
}