Allows automatically fetching schemas in json files without specifying schema
9 lines
227 B
Bash
Executable file
9 lines
227 B
Bash
Executable file
#!/bin/sh
|
|
# Script to launch a graphical editor if in graphical mode,
|
|
# terminal editor otherwise
|
|
|
|
if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then
|
|
echo "Running in graphical mode"
|
|
else
|
|
echo "Running in TTY mode"
|
|
fi
|