16 lines
354 B
Bash
Executable File
16 lines
354 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# {%@@ if terminal == "alacritty" @@%} #
|
|
command -v alacritty > /dev/null &&
|
|
{
|
|
test $# -gt 0 &&
|
|
exec alacritty -e $@ ||
|
|
exec alacritty
|
|
} & exit
|
|
# {%@@ else @@%} #
|
|
command -v kitty > /dev/null &&
|
|
exec kitty -- $@ & exit
|
|
# {%@@ endif @@%} #
|
|
|
|
notify-send "Error" "Terminal program missing"
|