From 14a892e627a375334a02381351f139d94ad7ecf3 Mon Sep 17 00:00:00 2001 From: ダカマ Date: Mon, 2 Jun 2025 13:08:46 +0200 Subject: First dump --- scriptlets/rxvt_yazi_launcher.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scriptlets/rxvt_yazi_launcher.sh (limited to 'scriptlets/rxvt_yazi_launcher.sh') diff --git a/scriptlets/rxvt_yazi_launcher.sh b/scriptlets/rxvt_yazi_launcher.sh new file mode 100755 index 0000000..7bd2824 --- /dev/null +++ b/scriptlets/rxvt_yazi_launcher.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +DIR="$1" +EDITOR=/usr/bin/nvim + +if [[ ! -d "$DIR" ]]; then + /usr/bin/urxvt -geometry 160x48 -e sh -c "/usr/bin/yazi" +else + /usr/bin/urxvt -geometry 160x48 -e sh -c "/usr/bin/yazi ${DIR}" +fi -- cgit v1.2.3