diff options
author | Adrian Kummerlaender | 2019-02-02 12:46:38 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2019-02-02 12:46:38 +0100 |
commit | 9fffa9510c39eb659ff8ada26253836e4fe4850f (patch) | |
tree | 14751fca434ec895e9add45357e769815c0a7124 | |
parent | cec64613630b68a8b0e286df862a92ce555a6bdc (diff) | |
download | nixos_home-9fffa9510c39eb659ff8ada26253836e4fe4850f.tar nixos_home-9fffa9510c39eb659ff8ada26253836e4fe4850f.tar.gz nixos_home-9fffa9510c39eb659ff8ada26253836e4fe4850f.tar.bz2 nixos_home-9fffa9510c39eb659ff8ada26253836e4fe4850f.tar.lz nixos_home-9fffa9510c39eb659ff8ada26253836e4fe4850f.tar.xz nixos_home-9fffa9510c39eb659ff8ada26253836e4fe4850f.tar.zst nixos_home-9fffa9510c39eb659ff8ada26253836e4fe4850f.zip |
Add NNN cli file manager
-rw-r--r-- | gui/apps/file.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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 <nixpkgs-unstable> {}; 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 = '' |