setup opener for lf
This commit is contained in:
parent
823141fdb1
commit
ee3da54e76
|
@ -10,7 +10,6 @@ set period 1
|
|||
set previewer "~/.config/lf/preview/chafa"
|
||||
set cursorpreviewfmt "\033[7;90m"
|
||||
set promptfmt "\033[34;1m%u\033[36m@\033[34m%h \033[35m[\033[0;1m%d\033[35m]\033[32m » \033[33m%f\033[0m"
|
||||
set opener=opener
|
||||
|
||||
cmd pushedit %{{
|
||||
echo "Open: " && read files
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
export EDITOR="nvim"
|
||||
export TERMINAL="st"
|
||||
export TERMCMD=$TERMINAL
|
||||
export OPENER=opener
|
||||
export BROWSER="brave-browser"
|
||||
|
||||
# Locale
|
||||
|
|
|
@ -4,7 +4,7 @@ set -f
|
|||
if [ "$2" ]; then
|
||||
for f in "$@"; do
|
||||
# shellcheck disable=2086
|
||||
rifle -p0 $f
|
||||
rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p 0 $f
|
||||
done
|
||||
else
|
||||
rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p 0 "$1"
|
Loading…
Reference in New Issue