You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$HOME/.config/clifm/plugins/file_picker.sh
# Options to be passed to clifmp() {
CLIFM_OPTIONS=""
clifm "$CLIFM_OPTIONS"
sel_file="$(find "${XDG_CONFIG_HOME:-${HOME}/.config}/clifm/profiles" -name 'selbox*')"if [ -z"$sel_file" ];then
sel_file="$(find /tmp/clifm-$USER -name 'selbox*')"fiif [ -f"$sel_file" ];then
cmd="echo"while [ -z"$cmd" ];doprintf"Enter command ('q' to quit): "read -r cmd
done
[ "$cmd"!="q" ] && sed 's/ /\\ /g'"$sel_file"| xargs $cmd
rm -- "$sel_file"elseprintf"No selected files\n">&2fi
}
p
~/.config/clifm/call_file_picker.sh
#!/bin/bash# The path to your file_picker.sh
FILE_PICKER_SCRIPT="$HOME/.config/clifm/plugins/file_picker.sh"# Check if the file existsif [[ -f"$FILE_PICKER_SCRIPT" ]];then# Source the scriptsource"$FILE_PICKER_SCRIPT"elseecho"Error: file_picker.sh not found at $FILE_PICKER_SCRIPT">&2exit 1
fi
Expected behavior
Select file, quit and file is selected in qutebrowser.
Desktop (please complete the following information):
OS: Archlinux
Terminal: st (suckless)
CliFM version 1.20.5
Installation source: AUR (clifm-git)
qutebrowser version 6.7.1 (pyQt6)
Additional context
Using nnn -p - works which outputs to same as above script
The text was updated successfully, but these errors were encountered:
The plugin defaults to xterm as terminal emulator. Edit the plugin file and set CLIFM_TERM to your preferred terminal. You can also set CLIFM_TERM as environment variable.
It is recommended to copy file_picker.sh to your local plugins directory (~/.config/clifm/plugins/).
Describe the bug
Cannot select file in qutebrowser
To Reproduce
Expected behavior
Select file, quit and file is selected in qutebrowser.
Desktop (please complete the following information):
Additional context
Using
nnn -p -
works which outputs to same as above scriptThe text was updated successfully, but these errors were encountered: