koppi / mk

LinuxCNC / Machinekit and EtherCAT notes.
GNU Affero General Public License v3.0
59 stars 24 forks source link

AXIS customization - Font Awesome icons #3

Closed koppi closed 3 years ago

koppi commented 9 years ago
$ cat names 
tool_clear eraser
tool_estop times-circle
tool_open  folder-open
tool_optpause pause
tool_pause pause
tool_power power-off
tool_reload refresh
#tool_rotate 
tool_run play
tool_step step-forward
tool_stop stop
tool_verify check
tool_zoomin search-plus
tool_zoomout search-minus
std_error times-circle
std_warning exclamation-circle
std_info info-circle
$ git clone https://github.com/encharm/Font-Awesome-SVG-PNG
$ cat names | grep -v ^# | while IFS= read -r f; do i=$(echo $f|awk '{ print $2 }'); o=$(echo $f|awk '{ print $1 }'); ls -al Font-Awesome-SVG-PNG/black/png/24/$i.png; sudo cp Font-Awesome-SVG-PNG/black/png/24/$i.png /usr/share/axis/images/$o.png; sudo rm /usr/share/axis/images/$o.gif; done

Result: 20150515-001