From 9fffa9510c39eb659ff8ada26253836e4fe4850f Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 2 Feb 2019 12:46:38 +0100 Subject: Add NNN cli file manager --- gui/apps/file.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gui') diff --git a/gui/apps/file.nix b/gui/apps/file.nix index 80a84b3..98228b4 100644 --- a/gui/apps/file.nix +++ b/gui/apps/file.nix @@ -4,9 +4,11 @@ home = { packages = let custom-sxiv = import ./sxiv.nix pkgs; + unstable = import {}; in with pkgs; [ # browser pcmanfm + unstable.nnn file # automounting gvfs lxmenu-data shared_mime_info # tools @@ -23,6 +25,10 @@ GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ]; # use GTK theme in libreoffice SAL_USE_VCLPLUGIN = "gtk"; + # NNN: display folders in bright green + NNN_CONTEXT_COLORS = "2222"; + # NNN: open all text files in $EDITOR + NNN_USE_EDITOR = 1; }; file.".config/user-dirs.dirs".text = '' -- cgit v1.2.3