From 3f600ab07dbad3b6dd7655587ddea158b19aea71 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 26 Aug 2023 23:42:21 +0200 Subject: Refactor(treewide): Abbreviate path names --- home-manager/soispha/config/lf/default.nix | 53 ------------------------------ 1 file changed, 53 deletions(-) delete mode 100644 home-manager/soispha/config/lf/default.nix (limited to 'home-manager/soispha/config/lf/default.nix') diff --git a/home-manager/soispha/config/lf/default.nix b/home-manager/soispha/config/lf/default.nix deleted file mode 100644 index ed037b05..00000000 --- a/home-manager/soispha/config/lf/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ - pkgs, - sysLib, - nixosConfig, - shell_library, - lf_rename, - system, - ... -}: let - commands = import ./commands {inherit pkgs sysLib shell_library system lf_rename;}; - keybindings = import ./keybindings {inherit nixosConfig;}; -in { - xdg.configFile."lf/icons".source = ./icons; - xdg.configFile."lf/colors".source = ./colors; - - # TODO: add the systemd tempfile option here - - programs.lf = { - enable = true; - - inherit commands keybindings; - - previewer = { - keybinding = "i"; - source = "${pkgs.ctpv}/bin/ctpv"; - }; - settings = { - # TODO: this needs to be added to nixos: - #autoquit = true; # quit the server, if no clients are left - #dirpreviews = true; # preview for directories - - dircounts = true; # count things in directories TODO: this has performance impact - drawbox = true; - # errorfmt = "\\033[1;91m==> ERROR:\\033[0m\\033[1;93m%s\\033[0m"; - errorfmt = "\\033[1;91m%s\\033[0m"; - hidden = true; # show hidden files - icons = true; - ifs = "\\n"; # internal field separator for shell commands - #info = "size"; # show the size of a directory - shell = "sh"; - shellopts = "-eu"; # e: exit on error; u: error for unset variables - }; - # TODO: remove auto quit, if it has been added - extraConfig = '' - &${pkgs.ctpv}/bin/ctpv -s $id - cmd on-quit %${pkgs.ctpv}/bin/ctpv -e $id - set cleaner ${pkgs.ctpv}/bin/ctpvclear - - # close the server, after the last client exits - set autoquit true - ''; - }; -} -- cgit 1.4.1