minor lf and aerc config change

This commit is contained in:
Tristan 2023-08-03 13:42:52 +01:00
parent a795dff97f
commit 4b98163f7e
2 changed files with 4 additions and 3 deletions

View file

@ -37,7 +37,6 @@ in
htop
imv
libsixel
lf-sixel
yt-dlp
playerctl
swww
@ -185,10 +184,12 @@ in
programs.lf.package = lf-sixel;
programs.lf.keybindings = {
D = "trash";
R = "drag";
"<f-2>" = ":rename";
"<enter>" = "open-with";
};
programs.lf.commands = {
drag = "%${pkgs.ripdrag}/bin/ripdrag -x \"$fx\"";
trash = "%${pkgs.trash-cli}/bin/trash-put \"$fx\"";
open = "$set -f; ${pkgs.ranger}/bin/rifle -p 0 \"$fx\"";
open-with = ''''${{