From 4b98163f7e99726b7d6e33d1a17aa1dc381db107 Mon Sep 17 00:00:00 2001 From: Tristan Date: Thu, 3 Aug 2023 13:42:52 +0100 Subject: [PATCH] minor lf and aerc config change --- global/home.nix | 3 ++- lib/modules/email.nix | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/global/home.nix b/global/home.nix index 6d3da06..7c83563 100644 --- a/global/home.nix +++ b/global/home.nix @@ -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"; "" = ":rename"; "" = "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 = ''''${{ diff --git a/lib/modules/email.nix b/lib/modules/email.nix index 226481c..b4fdd9e 100644 --- a/lib/modules/email.nix +++ b/lib/modules/email.nix @@ -112,7 +112,7 @@ in t = :toggle-threads = :view - D = :delete + D = :trash C = :compose @@ -148,7 +148,7 @@ in | = :pipe -m S = :save H = :toggle-headers - D = :delete + D = :trash = :prev-part = :next-part J = :next