some new tweaks
This commit is contained in:
parent
f541e725d9
commit
01df064f68
9 changed files with 85 additions and 9 deletions
|
|
@ -7,10 +7,26 @@ abbr --add adl album-dl.fish
|
|||
abbr --add vv nvim
|
||||
abbr --add tr gio trash
|
||||
|
||||
function mvi
|
||||
function alacritty
|
||||
command alacritty msg create-window $argv
|
||||
end
|
||||
|
||||
function mvi --description 'Launches mpv with mvi configuration'
|
||||
mpv --config-dir=$HOME/.config/mvi/ $argv
|
||||
end
|
||||
|
||||
function open --description 'Opens a file in its default application'
|
||||
argparse h/help -- $argv
|
||||
or return
|
||||
|
||||
if set -ql _flag_help
|
||||
echo "open [-h|--help] [STRING]"
|
||||
return 0
|
||||
end
|
||||
|
||||
niri msg action spawn -- xdg-open $argv
|
||||
end
|
||||
|
||||
# BEGIN opam configuration
|
||||
# This is useful if you're using opam as it adds:
|
||||
# - the correct directories to the PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue