From e8f0c3040228d21d4ea3a9de9f1f530fd0ab8110 Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Mon, 19 Feb 2024 17:36:18 -0300 Subject: [PATCH] files: lf: Fix send command --- files/lf/lfrc | 8 ++++++-- home-environments/radio.scm | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/files/lf/lfrc b/files/lf/lfrc index 122012a..6f160f2 100644 --- a/files/lf/lfrc +++ b/files/lf/lfrc @@ -44,10 +44,14 @@ cmd cd ${{ }} # Share on telegram -cmd send %wmctrl -x -a Telegram.TelegramDesktop && telegram-desktop -sendpath $(readlink -f "$f") +cmd send ${{ + wmctrl -x -a TelegramDesktop + telegram-desktop -sendpath \ + $(for f in $fx; do readlink -f $f; done) +}} # Open lf config -cmd config $$EDITOR "~/.config/lf/lfrc" +cmd config $$EDITOR "~/projects/code/scm/radix/files/lf/lfrc" # mkdir with :mkdir cmd mkdir %mkdir -- "$@" diff --git a/home-environments/radio.scm b/home-environments/radio.scm index 8eaeb4b..9fcd881 100644 --- a/home-environments/radio.scm +++ b/home-environments/radio.scm @@ -124,7 +124,7 @@ #|vesion-control|# git #|video |# ffmpeg mpv yt-dlp #|wm |# awesome-next - #|xdisorg |# maim xbanish xclip xinit xsel + #|xdisorg |# maim wmctrl xbanish xclip xinit xsel #|xorg |# setxkbmap xinput xf86-input-libinput xkill xmodmap xorg-server xrdb xset))