From a05dff1c9e343f72bbd46626dc4d89e2d0b012e0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 19 Mar 2022 11:18:11 +0100 Subject: lf and env updates --- .config/env | 7 ++++++- .config/lf/lfrc | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to '.config') diff --git a/.config/env b/.config/env index eb01f0b..b6438d2 100644 --- a/.config/env +++ b/.config/env @@ -15,8 +15,13 @@ export XDG_DATA_HOME="$HOME"/.local/share export XDG_CONFIG_HOME="$HOME"/.config export XDG_CACHE_HOME="$HOME"/.cache -export XDG_MUSIC_DIR="$HOME"/mu export XDG_PACKAGE_HOME="$HOME"/.local/packs +export XDG_DESKTOP_DIR="$HOME" +export XDG_DOCUMENTS_DIR="$HOME"/docs +export XDG_DOWNLOAD_DIR="$HOME"/dl +export XDG_MUSIC_DIR="$HOME"/mu +export XDG_PICTURES_DIR="$HOME"/pics +export XDG_VIDEOS_DIR="$HOME"/vids # PATH export PATH="$HOME"/.local/bin:"$XDG_PACKAGE_HOME"/fzf-zsh-plugin/bin:"$PATH":/usr/local/llvm10/bin:/usr/local/llvm11/bin diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 586ea71..24a9961 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -29,8 +29,8 @@ cmd open ${{ lf -remote "send toggle" done & ;; - audio/*) bsdsetsid st -e mpv --no-audio-display --audio-channels=stereo $f ;; - video/*) bsdsetsid mpv --fullscreen --really-quiet --audio-channels=stereo $f >/dev/null 2>&1 ;; + audio/*) bsdsetsid st -e mpv --no-audio-display --audio-channels=stereo $fx ;; + video/*) bsdsetsid mpv --fullscreen --really-quiet --audio-channels=stereo $fx >/dev/null 2>&1 ;; *opendocument*) odt2txt $f | less ;; application/pdf|application/vnd*|application/epub*) bsdsetsid zathura $fx >/dev/null 2>&1 ;; application/pgp-encrypted) $EDITOR $fx ;; -- cgit v1.2.3