adding yazi, refactor emacs package config, more
This commit is contained in:
parent
fe95c5af51
commit
29f9ba670f
6 changed files with 208 additions and 115 deletions
10
dotfiles/dot_config/fish/functions/y.fish
Normal file
10
dotfiles/dot_config/fish/functions/y.fish
Normal 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
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue