Skip to content

Commit 16f4215

Browse files
committed
/usr/libexec/default-editor/default_editor.sh: set to featherpad (part of port to LXQt)
1 parent b7bfa23 commit 16f4215

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

usr/libexec/default-editor/default_editor.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,16 @@ if [ "$XDG_SESSION_TYPE" = "tty" ]; then
2020
fi
2121

2222
if [ "$VISUAL" = "" ]; then
23+
if command -v featherpad 1>/dev/null 2>/dev/null ; then
24+
VISUAL="featherpad"
25+
export VISUAL
26+
return 0
27+
exit 0
28+
fi
2329
if command -v mousepad 1>/dev/null 2>/dev/null ; then
2430
VISUAL="mousepad"
2531
export VISUAL
32+
return 0
33+
exit 0
2634
fi
2735
fi

0 commit comments

Comments
 (0)