Updated clifm and fixed pager setting.
This commit is contained in:
parent
e969a5a6e8
commit
863dd4fd4c
|
|
@ -1,19 +1,25 @@
|
||||||
{pkgs, ...}:
|
{lib, pkgs, ...}:
|
||||||
let
|
let
|
||||||
overlay = (final: prev: {
|
overlay = (final: prev: {
|
||||||
clifm = prev.clifm.overrideAttrs (old: {
|
clifm = prev.clifm.overrideAttrs (old: {
|
||||||
version = "1.22.2";
|
version = "1.23";
|
||||||
src = prev.fetchFromGitHub {
|
src = prev.fetchFromGitHub {
|
||||||
owner = "leo-arch";
|
owner = "leo-arch";
|
||||||
repo = prev.clifm.pname;
|
repo = prev.clifm.pname;
|
||||||
rev = "53ae886";
|
rev = "v1.23";
|
||||||
hash = "sha256-pNKtmLMciKmzj0XOzLVgXrtwOVeMEK7Hgik0khcsWAQ=";
|
hash = "sha256-FtlLz77yy/QfRyAhJSh5juCSPCZ921sTGhuYJzCusus=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
file_picker = pkgs.writeScriptBin "file_picker" (builtins.readFile "${pkgs.clifm}/share/clifm/plugins/file_picker.sh");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs.extend overlay; [ atool fzf xdragon unzip zip sshfs clifm ];
|
home.packages = with pkgs.extend overlay; [ atool fzf xdragon unzip zip sshfs clifm ]
|
||||||
|
++ [ file_picker ];
|
||||||
xdg.configFile."clifm/profiles/default/clifmrc".source = ./clifm/clifmrc;
|
xdg.configFile."clifm/profiles/default/clifmrc".source = ./clifm/clifmrc;
|
||||||
xdg.configFile."clifm/profiles/default/mimelist.clifm".source = ./clifm/mimelist.clifm;
|
xdg.configFile."clifm/profiles/default/mimelist.clifm".source = ./clifm/mimelist.clifm;
|
||||||
|
home.sessionVariables = {
|
||||||
|
CLIFM_TERM = "alacritty"; # TODO UNHARDCODE THIS
|
||||||
|
CLIFM_TEMPLATES_DIR = "$HOME/Modèles";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
# >1: Run the pager whenever the amount of files in the current directory is
|
# >1: Run the pager whenever the amount of files in the current directory is
|
||||||
# greater than or equal to this value (say, 1000).
|
# greater than or equal to this value (say, 1000).
|
||||||
;Pager=0
|
;Pager=0
|
||||||
Pager=1
|
Pager=0
|
||||||
|
|
||||||
# How to list files in the pager. Possible values:
|
# How to list files in the pager. Possible values:
|
||||||
# auto: use the current listing mode
|
# auto: use the current listing mode
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue