added alacritty, foot doesnt support dynamic themeing :c

This commit is contained in:
foxora 2026-02-23 19:33:14 +00:00
parent cf5b772204
commit 79af2ce80f
11 changed files with 184 additions and 137 deletions

View file

@ -1,4 +1,5 @@
{upkgs, ...}: {
{ upkgs, ... }:
{
# optional dependencies can be found here:
# https://yazi-rs.github.io/docs/installation/
home.packages = with upkgs; [
@ -23,12 +24,12 @@
mgr.prepend_keymap = [
# drag and drop!!
{
on = ["<S-c>"];
on = [ "<S-c>" ];
run = ''shell "ripdrag -x -a \"$@\"" --confirm'';
}
# copy hovered file to clipboard
{
on = ["<S-y>"];
on = [ "<S-y>" ];
run = ''shell -- path=%h; echo "file://$path" | wl-copy -t text/uri-list'';
}
];
@ -170,7 +171,7 @@
[filechooser]
cmd=${upkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh
default_dir=$HOME
env=TERMCMD='foot --title filechooser'
env=TERMCMD='alacritty --title filechooser'
open_mode=suggested
save_mode=last
'';