1 Frame Animated Icon

touch-bar

#1

Easy AppleScript for having an icon repeatedly switching. Modified gif script by @ Cesar_Pasache

Add script to AppleScript widget
Assign icons and set icon to change on regex=1
Set repeat to desired repeat delay (too low will cause increased energy usage)

 tell application "BetterTouchTool"
	try
		set frame to ((get_number_variable "frame") as integer)
	on error
		set frame to 0
	end try
	if frame is 0 then
		set frame to 1
	else if frame is 1 then
		set frame to 0
	end if
	set_persistent_number_variable "frame" to frame
	return frame
end tell