USB drives: yazi g m, udiskie Open → yazi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cd8f10c762
commit
2509d2f498
2 changed files with 8 additions and 0 deletions
|
|
@ -45,6 +45,11 @@ in
|
||||||
# Off by default; yazi is keyboard-first.
|
# Off by default; yazi is keyboard-first.
|
||||||
settings.mgr.mouse_events = [ "click" "scroll" ];
|
settings.mgr.mouse_events = [ "click" "scroll" ];
|
||||||
|
|
||||||
|
# g m → mounted USB drives (udisks2 mounts under /run/media/$USER).
|
||||||
|
keymap.mgr.prepend_keymap = [
|
||||||
|
{ on = [ "g" "m" ]; run = "cd /run/media/fred"; desc = "Go to mounted drives"; }
|
||||||
|
];
|
||||||
|
|
||||||
# Colour NAMES, not hex — the whole point. "reset" means the terminal's
|
# Colour NAMES, not hex — the whole point. "reset" means the terminal's
|
||||||
# own fg/bg, and the eight names map onto ghostty's palette, which our
|
# own fg/bg, and the eight names map onto ghostty's palette, which our
|
||||||
# ghostty.conf fills from the wallpaper:
|
# ghostty.conf fills from the wallpaper:
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
automount = false;
|
automount = false;
|
||||||
tray = "never";
|
tray = "never";
|
||||||
|
# "Open" button → yazi (Super+E's spelling; udiskie appends the path).
|
||||||
|
settings.program_options.file_manager =
|
||||||
|
"${pkgs.ghostty}/bin/ghostty +new-window --working-directory=/home/fred -e yazi";
|
||||||
};
|
};
|
||||||
|
|
||||||
dconf.settings."org/nemo/window-state".start-with-menu-bar = false;
|
dconf.settings."org/nemo/window-state".start-with-menu-bar = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue