diff --git a/user_config/bin/newton b/user_config/bin/newton new file mode 100755 index 0000000..5eed8c6 --- /dev/null +++ b/user_config/bin/newton @@ -0,0 +1,24 @@ +#!/bin/bash + +# . CONFIG.sh + +# set -o xtrace ## To debug scripts +# set -o errexit ## To exit on error +# set -o errunset ## To exit if a variable is referenced but not set + + +function main() { + call_path=`pwd` + + files=() + for f in "$@"; do + target=$(readlink -f "${f}") + i="${#files[@]}" + size=$(($i + 1)) + files[$size]="${target}" + done + + cd "/opt/" + python /opt/newton.zip "${files[@]}" +} +main "$@"; diff --git a/user_config/local/share/gtksourceview-4/language-specs/c.lang b/user_config/local/share/gtksourceview-4/language-specs/c.lang new file mode 100644 index 0000000..8dcf2dd --- /dev/null +++ b/user_config/local/share/gtksourceview-4/language-specs/c.lang @@ -0,0 +1,388 @@ + + + + + text/x-c;text/x-csrc;image/x-xpixmap + *.c + // + /* + */ + .c + + + +