remove(yazi): shell script was not working
This commit is contained in:
@@ -2,11 +2,5 @@
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
workspace = [
|
||||
];
|
||||
|
||||
windowrulev2 = [
|
||||
"float, class:^(yazi-file-picker)$"
|
||||
"size 60% 60%, class:^(yazi-file-picker)$"
|
||||
"center, class:^(yazi-file-picker)$"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
+1
-15
@@ -2,14 +2,7 @@
|
||||
pkgs,
|
||||
myConfig,
|
||||
...
|
||||
}: let
|
||||
yazi-file-picker = pkgs.writeShellScriptBin "yazi-file-picker" ''
|
||||
path="$1"
|
||||
# multiple="$2"
|
||||
# directory="$3"
|
||||
${pkgs.yazi}/bin/yazi --chooser-file="$path"
|
||||
'';
|
||||
in {
|
||||
}: {
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
@@ -22,11 +15,4 @@ in {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = [yazi-file-picker];
|
||||
|
||||
xdg.configFile."xdg-desktop-portal-termfilechooser/config".text = ''
|
||||
[filechooser]
|
||||
cmd=${pkgs.ghostty}/bin/ghostty --class=yazi-file-picker -e ${yazi-file-picker}/bin/yazi-file-picker
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user