termux-packages/packages/termux-tools/termux-reload-settings
Leonid Pliushch 51cdbe0073 termux-tools: use default shebang in sources
This will allow build system to set shebang according to the
current TERMUX_PREFIX.
2019-09-19 23:41:31 +03:00

13 lines
339 B
Bash
Executable File

#!/bin/sh
if [ "$#" != "0" ]; then
echo 'usage: termux-reload-settings'
echo 'Use without arguments to reload settings after modifying any of:'
echo ' ~/.termux/colors.properties'
echo ' ~/.termux/font.ttf '
echo ' ~/.termux/termux.properties'
exit
fi
am broadcast --user 0 -a com.termux.app.reload_style com.termux > /dev/null