1
0
Fork 0

setup opener for lf

This commit is contained in:
Luca Bilke 2024-02-01 10:50:28 +01:00
parent 823141fdb1
commit ee3da54e76
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -6,6 +6,8 @@
export EDITOR="nvim"
export TERMINAL="st"
export TERMCMD=$TERMINAL
export OPENER=opener
export BROWSER="brave-browser"
# Locale

View File

@ -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"