slide (example config files)

Machine config examples

Here are some example machine-wide config files that show real-world examples of how these configs are used.

#config_version=5

modes:
 - mode1

displays:
  display1:
    width: 401
    height: 301
  display2:
    width: 402
    height: 302
    default: true


slides:
  slide1:
  - type: text
    text: SLIDE TEST 1-1
    y: -50
    color: ff0000
    font_size: 50
  - type: text
    text: SLIDE TEST 1-2
    color: 00ff00
    font_size: 50
  - type: text
    text: SLIDE TEST 1-3
    y: 50
    color: 0000ff
    font_size: 50
  slide2:
    type: text
    text: SLIDE TEST 2-1
    color: 00ffff
    font_size: 50
  slide3:
    widgets:
      type: text
      text: SLIDE TEST 3-1
      color: 00ff00
      font_size: 50
  slide4:
    widgets:
      type: text
      text: SLIDE TEST 4-1
      color: ffff00
      font_size: 50
    transition: move_in
  slide5:
    widgets:
      type: text
      text: SLIDE TEST 5-1
      color: ffaa00
      font_size: 50
    transition:
      type: move_in
      direction: right
  slide6:
    background_color: ff0000ff
    opacity: 0.5
    widgets:
      type: text
      text: TEST BACKGROUND COLOR & OPACITY
  slide7:
  - type: text
    text: TEST Z-ORDER 50-1
    y: -50
    z: 50
    color: ff0000
    font_size: 50
  - type: text
    text: TEST Z-ORDER 100
    z: 100
    color: 00ff00
    font_size: 50
  - type: text
    text: TEST Z-ORDER 0
    y: 50
    color: 0000ff
    font_size: 50
  - type: text
    text: TEST Z-ORDER 50-2
    y: 75
    z: 50
    color: ffff00
    font_size: 50

Mode config examples

Here are some example mode config files that go along with the machine-wide config above.

#config_version=5

mode:
  priority: 500

slides:
  mode1_slide1:
    type: text
    text: MODE 1 SLIDE 1
    x: 25%
    color: ffaa00
    font_size: 100