adding yazi, refactor emacs package config, more

This commit is contained in:
Matt Nish-Lapidus 2025-01-31 23:40:31 -05:00
parent fe95c5af51
commit 29f9ba670f
6 changed files with 208 additions and 115 deletions

View file

@ -0,0 +1,10 @@
#!/usr/bin/env fish
function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end

View file

@ -158,6 +158,8 @@ binds {
Mod+B { spawn "firefox"; }
//Mod+Space { spawn "fuzzel"; }
Mod+Space { spawn "wezterm" "--config-file" "/home/emenel/.config/wezterm/launcher.lua" "start" "--class" "launcher" "--always-new-process" "sway-launcher-desktop"; }
Mod+Ctrl+V { spawn "wezterm" "--config-file" "/home/emenel/.config/wezterm/launcher.lua" "start" "--class" "launcher" "--always-new-process" "clipse"; }
Mod+Ctrl+F { spawn "wezterm" "--config-file" "/home/emenel/.config/wezterm/launcher.lua" "start" "--always-new-process" "yazi"; }
Super+Shift+L { spawn "swaylock"; }
// Example volume keys mappings for PipeWire & WirePlumber.