diff --git a/system/home/shell/default.nix b/system/home/shell/default.nix index fb03235c..25f602c5 100644 --- a/system/home/shell/default.nix +++ b/system/home/shell/default.nix @@ -98,7 +98,9 @@ enable = true; defaultCommand = "${pkgs.fd}/bin/fd --type f"; changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d"; + changeDirWidgetOptions = [ "--preview '${pkgs.tree}/bin/tree -C {} | head -200'" ]; fileWidgetCommand = "${pkgs.fd}/bin/fd --type f"; + fileWidgetOptions = [ "--preview '${pkgs.bat}/bin/bat -f {}'" ]; colors = { bg = lib.mkForce "-1"; "bg+" = lib.mkForce "-1";