Ranger dnd optimization + qb filepicker

This commit is contained in:
Emmet 2023-11-04 14:00:41 -05:00
parent 4e86fb971a
commit 49b0f04fda
4 changed files with 21 additions and 1 deletions

View file

@ -1,5 +1,6 @@
{ config, lib, pkgs, ... }:
let myCbxScript = ''
# TODO fix this for wayland
#!/bin/sh
if [ "$#" -le "2" ]; then
if [ "$1" = "copy" -o "$1" = "cut" ]; then
@ -14,10 +15,13 @@ in
home.packages = with pkgs; [
ranger
xdragon
ripdrag
highlight
(pkgs.writeScriptBin "cbx" myCbxScript)
];
xdg.mimeApps.associations.added = {
"inode/directory" = "ranger.desktop";
};
home.file.".config/ranger/rc.conf".source = ./rc.conf;
home.file.".config/ranger/rifle.conf".source = ./rifle.conf;
home.file.".config/ranger/scope.sh" = {