mirror of
https://github.com/davatorium/rofi.git
synced 2025-03-10 17:06:37 -04:00
parent
56fd08ed58
commit
d948e33e68
1 changed files with 4 additions and 4 deletions
|
@ -9,10 +9,10 @@
|
||||||
# We welcome patches that add distribution-specific mechanisms to find the
|
# We welcome patches that add distribution-specific mechanisms to find the
|
||||||
# preferred terminal emulator. On Debian, there is the x-terminal-emulator
|
# preferred terminal emulator. On Debian, there is the x-terminal-emulator
|
||||||
# symlink for example.
|
# symlink for example.
|
||||||
for terminal in $TERMINAL x-terminal-emulator urxvt rxvt st terminology qterminal Eterm aterm uxterm xterm roxterm xfce4-terminal.wrapper mate-terminal lxterminal konsole alacritty kitty wezterm; do
|
for terminal in $TERMINAL x-terminal-emulator urxvt rxvt st terminology qterminal Eterm aterm uxterm xterm roxterm xfce4-terminal.wrapper mate-terminal lxterminal konsole alacritty kitty wezterm ghostty; do
|
||||||
if command -v $terminal >/dev/null 2>&1; then
|
if command -v $terminal >/dev/null 2>&1; then
|
||||||
exec $terminal "$@"
|
exec $terminal "$@"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
rofi -e "Failed to find a suitable terminal"
|
rofi -e "Failed to find a suitable terminal"
|
||||||
|
|
Loading…
Add table
Reference in a new issue