#!/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 me.sergiotarxz.openmg.x11.app.reload_style me.sergiotarxz.openmg.x11 > /dev/null
