mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
chore: Use $XDG_CONFIG_HOME in lfrc (#554)
This commit is contained in:
parent
aca8e7302b
commit
48375b04e0
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
# Basic vars
|
# Basic vars
|
||||||
set shell bash
|
set shell bash
|
||||||
set previewer ~/.config/lf/scope
|
|
||||||
set shellopts '-eu'
|
set shellopts '-eu'
|
||||||
set ifs "\n"
|
set ifs "\n"
|
||||||
set scrolloff 10
|
set scrolloff 10
|
||||||
@ -10,6 +9,9 @@ set color256
|
|||||||
set icons
|
set icons
|
||||||
set period 1
|
set period 1
|
||||||
|
|
||||||
|
# Vars that depend on environmental variables
|
||||||
|
$lf -remote "send $id set previewer ${XDG_CONFIG_HOME:-$HOME/.config}/lf/scope"
|
||||||
|
|
||||||
# cmds/functions
|
# cmds/functions
|
||||||
cmd open ${{
|
cmd open ${{
|
||||||
case $(file --mime-type $f -b) in
|
case $(file --mime-type $f -b) in
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user