summaryrefslogtreecommitdiffstats
path: root/.config/lf/lfrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-08 16:50:33 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-08 16:50:33 -0400
commitf93cd463a17ce73adeb1f56a57f211690a6c13b1 (patch)
tree2c84b7197ccc2f6c7862653993c276c660946256 /.config/lf/lfrc
parentf68f3119c1da3c6229c0c26e41b60f20ce7bc84a (diff)
parentbcbfd066cf90cd5aa83225d468680473b8f66ad6 (diff)
downloadeibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.tar.gz
eibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.tar.zst
eibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.zip
Merge branch 'xdgify' of https://github.com/dennisleexyz/dotfiles into dennisleexyz-xdgify
Diffstat (limited to '.config/lf/lfrc')
-rw-r--r--.config/lf/lfrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 27900a1..3b4cc14 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -2,7 +2,7 @@
# Basic vars
set shell sh
-set previewer ~/.config/lf/scope
+set previewer $XDG_CONFIG_HOME/lf/scope
set shellopts '-eu'
set ifs "\n"
set scrolloff 10
@@ -36,7 +36,7 @@ cmd delete ${{
cmd moveto ${{
set -f
clear; echo "Move to where?"
- dest="$(cut -d' ' -f2- ~/.config/directories | fzf)" &&
+ dest="$(cut -d' ' -f2- $XDG_CONFIG_HOME/directories | fzf)" &&
eval mv -iv $fx $dest &&
notify-send "🚚 File(s) moved." "File(s) moved to $dest."
}}
@@ -44,7 +44,7 @@ cmd moveto ${{
cmd copyto ${{
set -f
clear; echo "Copy to where?"
- dest="$(cut -d' ' -f2- ~/.config/directories | fzf)" &&
+ dest="$(cut -d' ' -f2- $XDG_CONFIG_HOME/directories | fzf)" &&
eval cp -ivr $fx $dest &&
notify-send "📋 File(s) copied." "File(s) copies to $dest."
}}
@@ -54,9 +54,9 @@ cmd bulkrename ${{
}}
# Bindings
-map c $lf -remote "send $id cd $(cut -d' ' -f2 ~/.config/directories | fzf)"
+map c $lf -remote "send $id cd $(cut -d' ' -f2 $XDG_CONFIG_HOME/directories | fzf)"
map <c-f> $lf -remote "send $id select '$(fzf)'"
-map J $lf -remote "send $id cd $(cut -d' ' -f2 ~/.config/directories | fzf)"
+map J $lf -remote "send $id cd $(cut -d' ' -f2 $XDG_CONFIG_HOME/directories | fzf)"
map gh
map g top
map D delete