mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
d27cee89fa
Squashed commit of the following: commit92e730076d
Author: Dave Davenport <qball@gmpclient.org> Date: Sun Jun 11 18:17:12 2023 +0200 [Doc] Add regex filtering to recursivebrowser. commitee80c8487f
Author: Dave Davenport <qball@gmpclient.org> Date: Sun Jun 11 17:49:29 2023 +0200 [recursivebrowser] Update manpage. commita24b68f523
Author: Dave Davenport <qball@gmpclient.org> Date: Sun Jun 11 17:37:56 2023 +0200 [Mode] Add some extra validating of the mode selected to complete. commitcf497e8685
Author: Dave Davenport <qball@gmpclient.org> Date: Sun Jun 4 15:12:31 2023 +0200 [Recursive browser] Make completer selectable. commit722f07a803
Author: Dave Davenport <qball@gmpclient.org> Date: Sun Jun 4 14:36:14 2023 +0200 Add methods for completer to modes. commit7972420c30
Author: Qball Cow <qball@blame.services> Date: Thu Jun 1 21:56:06 2023 +0200 Prepare updates for new APIs. commitdd3035a1a6
Author: Dave Davenport <qball@gmpclient.org> Date: Wed May 10 19:24:48 2023 +0200 [RB] Fix regex and cleanups commit4d2941caf3
Author: Dave Davenport <qball@blame.services> Date: Wed May 10 18:09:54 2023 +0200 [RB] Add (unfinished regex test) commit848277001f
Author: Dave Davenport <qball@blame.services> Date: Wed May 10 17:49:16 2023 +0200 [RB] Pull the scanning into a separate thread. commitf369a7f63f
Author: Dave Davenport <qball@gmpclient.org> Date: Wed May 3 18:35:15 2023 +0200 [Recursive File Browser] First test version.
21 lines
409 B
Bash
Executable file
21 lines
409 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ "$@" = "quit" ]]
|
|
then
|
|
exit 0
|
|
fi
|
|
|
|
# Override the previously set prompt.
|
|
# We only want to do this on first call of script.
|
|
if [[ $ROFI_RETV = 0 ]]
|
|
then
|
|
echo -en "\x00delim\x1f\\x1\n"
|
|
fi
|
|
echo -en "\x00message\x1fmy line1\nmyline2\nmy line3\x1"
|
|
echo -en "\x00prompt\x1fChange prompt\x1"
|
|
for a in {1..10}
|
|
do
|
|
echo -en "$a\x1"
|
|
done
|
|
echo -en "newline\ntest\x1"
|
|
echo -en "quit"
|