fzf image previews
This commit is contained in:
parent
7cb2f9cea3
commit
9e801ee1bc
|
@ -4,6 +4,15 @@ alias devsesh="$HOME/scripts/tmux-dev-session.sh"
|
|||
alias slides="nohup ${HOME}/scripts/hyprland-slideshow.sh"
|
||||
alias ls="ls --color=auto"
|
||||
|
||||
alias fzf='fzf --preview='\''
|
||||
if file --mime-type {} | grep -qF '\''image/'\''; then
|
||||
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {}
|
||||
else
|
||||
batcat --color=always {}
|
||||
fi
|
||||
'\'''
|
||||
|
||||
|
||||
export SUDO_EDITOR="nvim"
|
||||
|
||||
##suffix aliases
|
||||
|
|
Loading…
Reference in New Issue