Newer
Older
jeltz-klipper-config / config / bash.cfg
@Cory Tucker Cory Tucker 5 days ago 417 bytes initial commit
[gcode_shell_command aplay]
command: aplay
timeout: 5.
verbose: True

[gcode_shell_command ls]
command: ls
timeout: 3.
verbose: True

[gcode_macro metal_pipe]
gcode:
  g0 z150 f12000
  g4 1
  g0 z1 f12000
  UPDATE_DELAYED_GCODE ID=metal_pipe1 DURATION=3.5

[delayed_gcode metal_pipe1]
gcode:
  RUN_SHELL_COMMAND CMD=aplay PARAMS=--device\ default:CARD=HDMI\ ../printer_data/sounds/metal-pipe-falling-sound-effect.wav